|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.clientserver.DSEPresentationHandler
com.ibm.btt.cs.java.JavaPresentationHandler
public class JavaPresentationHandler
This class extends DSEPresentationHandler abstract class.
The implementation is used by the java clients to render responses of the information or exceptions.
Field Summary |
---|
Fields inherited from class com.ibm.btt.clientserver.DSEPresentationHandler |
---|
javaClientException, javaClientTrace |
Constructor Summary | |
---|---|
JavaPresentationHandler()
|
Method Summary | |
---|---|
void |
commitSessionCtx(ChannelContext channelContext)
Commit Session Context to DB to support fail over |
protected java.lang.String |
getSessionId(ChannelContext aChannelContext)
Convenience method to determine the session id from the channel session |
void |
processException(ChannelContext channelContext,
java.lang.Exception exception)
Process the exception for the java client Response is sent to the client in the char encoding specified in btt.xml file. |
void |
processReply(ChannelContext channelContext,
java.lang.Object response)
Pass the response back to the client |
void |
processSessionReply(ChannelContext channelContext)
Process the session reply to the java client Response is sent to the client in the char encoding specified in btt.xml file. |
Methods inherited from class com.ibm.btt.clientserver.DSEPresentationHandler |
---|
handleException, usingCookies |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavaPresentationHandler()
Method Detail |
---|
protected java.lang.String getSessionId(ChannelContext aChannelContext)
aChannelContext
- com.ibm.btt.clientserver.ChannelContext
public void processException(ChannelContext channelContext, java.lang.Exception exception)
Response is sent to the client in the char encoding specified in btt.xml file.
Potential exception codes required by the client to perform the necessary cleanup
processException
in interface PresentationHandler
processException
in class DSEPresentationHandler
channelContext
- com.ibm.btt.clientserver.ChannelContextexception
- Exceptionpublic void processSessionReply(ChannelContext channelContext)
Response is sent to the client in the char encoding specified in btt.xml file.
processSessionReply
in interface PresentationHandler
processSessionReply
in class DSEPresentationHandler
channelContext
- com.ibm.btt.clientserver.ChannelContextpublic void processReply(ChannelContext channelContext, java.lang.Object response)
processReply
in interface PresentationHandler
processReply
in class DSEPresentationHandler
channelContext
- the channel context objectresponse
- the response sent back to clientpublic void commitSessionCtx(ChannelContext channelContext) throws DSEInvalidRequestException, DSEObjectNotFoundException
channelContext
-
DSEObjectNotFoundException
DSEInvalidRequestException
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |