|
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.cs.sessionpropagation.SessionPropagationForJavaClientWithWorkArea
public class SessionPropagationForJavaClientWithWorkArea
This implementation of SessionPropagation interface will use SystemData (non-WorkArea environment) as Session Propagation.
Field Summary | |
---|---|
static java.lang.String |
WORKAREA_JNDI
If using WorkArea, the WorkArea JNDI name is necessary. |
static java.lang.String |
WORKAREA_LOCATION
If using WorkArea, the WorkArea lcation is necessary. |
Constructor Summary | |
---|---|
SessionPropagationForJavaClientWithWorkArea()
|
Method Summary | |
---|---|
BTTSystemData |
beginSessionPropagation()
When begin session propagation, it will create WorkArea at first, and then set the session data into it. |
void |
beginWorkArea()
|
void |
beginWorkArea(java.lang.String workAreaName)
Demarcate the beginning of a UserWorkArea. |
void |
completeWorkArea()
Complete the WorkArea if configured.. |
void |
endSessionPropagation()
Terminates the work area when processing is done. |
ChannelContext |
getChannelContext()
Returns the channelContext. |
java.lang.Object |
getWorkAreaValueAt(java.lang.String key)
Get the value in WorkArea according to the key |
void |
setChannelContext(ChannelContext channelContext)
Sets the channelContext. |
void |
setContext(Context aContext)
Set Context Object for retrieving session data |
void |
setSession(ChannelSession sessionObject)
Set ChannelSession Object for retrieving session data |
void |
setWorkAreaValueAt(java.lang.String key,
java.lang.Object value)
|
void |
setWorkAreaValueAt(java.lang.String key,
java.lang.Object value,
com.ibm.websphere.workarea.PropertyModeType mode)
Set the key and value into WorkArea. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String WORKAREA_LOCATION
public static final java.lang.String WORKAREA_JNDI
Constructor Detail |
---|
public SessionPropagationForJavaClientWithWorkArea()
Method Detail |
---|
public BTTSystemData beginSessionPropagation() throws java.lang.Exception
beginSessionPropagation
in interface SessionPropagation
java.lang.Exception
- Any Exception when begin Session Propagation.SessionPropagation.beginSessionPropagation()
public void endSessionPropagation()
endSessionPropagation
in interface SessionPropagation
SessionPropagation.endSessionPropagation()
public void setChannelContext(ChannelContext channelContext)
setChannelContext
in interface SessionPropagation
channelContext
- The channelContext to setpublic ChannelContext getChannelContext()
public void setSession(ChannelSession sessionObject)
SessionPropagation
setSession
in interface SessionPropagation
sessionObject
- session objectpublic void setContext(Context aContext)
SessionPropagation
setContext
in interface SessionPropagation
aContext
- Automaton Contextpublic void completeWorkArea()
public void beginWorkArea() throws java.lang.Exception
java.lang.Exception
beginWorkArea(String workAreaName)
public void beginWorkArea(java.lang.String workAreaName) throws java.lang.Exception
workAreaName
- WorkArea name used to trace.
java.lang.Exception
- Any exception when initialize/begin WorkArea. If exception
throwed, the non-WorkArea mechanism will be usedpublic void setWorkAreaValueAt(java.lang.String key, java.lang.Object value, com.ibm.websphere.workarea.PropertyModeType mode) throws DSEInvalidRequestException
key
- The key-value part of the triplet represents the key to the
datavalue
- The data in WorkAreamode
- determines whether the property can be removed or modified by
the receiving end. The mode include PropertyModeType.normal
and PropertyModeType.read-only.
DSEInvalidRequestException
- Set value failedpublic void setWorkAreaValueAt(java.lang.String key, java.lang.Object value) throws DSEInvalidRequestException
DSEInvalidRequestException
setWorkAreaValueAt(String key, Object value, PropertyModeType mode)
public java.lang.Object getWorkAreaValueAt(java.lang.String key) throws java.lang.Exception
key
- The key-value part of the triplet represents the key to the
data and the data itself.
java.lang.Exception
- Any exception about WorkArea.
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |