|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.2) E22562-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.applcore.common.ApplSessionContext
public class ApplSessionContext
This class implements the ContextProvider interface to provide a representation of all the relevant AOL context state that can be serialized and deserialized and passed along in a BPEL process. It is only intended for use by code from the BPEL layer.
Field Summary | |
---|---|
static java.lang.String |
APPL_SESSION_SCHEMA_NAME
|
static java.lang.String |
APPL_SESSION_TABLE
|
static java.lang.String |
APPL_SESSSION_SCHEMA_NAME
|
static java.lang.String |
APPL_SESSSION_TABLE
|
static java.lang.String |
BASE_CONTEXT
|
static java.lang.String |
NAMESPACE
|
Constructor Summary | |
---|---|
ApplSessionContext()
|
Method Summary | |
---|---|
java.lang.Object |
fromXML(org.w3c.dom.Element rootEl)
Deserializes the Element into an Object representing the AOL Context, which can then be passed to the 'setContext' method above. |
java.lang.Object |
getContext()
Deprecated. |
java.lang.Object |
getContext(boolean isClient)
This fetches the current state of the AOL context, and returns an object containing that state which will passed to the 'toXML' method and serialized into XML. |
javax.xml.namespace.QName |
getContextQName()
This returns the qualified name of this context. |
void |
setContext(boolean isClient,
java.lang.Object context)
After the XML has been de-serialized by the 'fromXML' call, the resulting object is passed to this call to set whatever pieces of AOL context the passed in object contained. |
void |
setContext(java.lang.Object context)
Deprecated. |
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc,
java.lang.Object context)
Serializes the passed in AOL context into XML. |
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 NAMESPACE
public static final java.lang.String BASE_CONTEXT
public static final java.lang.String APPL_SESSION_TABLE
public static final java.lang.String APPL_SESSION_SCHEMA_NAME
public static final java.lang.String APPL_SESSSION_TABLE
public static final java.lang.String APPL_SESSSION_SCHEMA_NAME
Constructor Detail |
---|
public ApplSessionContext()
Method Detail |
---|
public javax.xml.namespace.QName getContextQName()
getContextQName
in interface oracle.j2ee.ws.common.context.ContextProvider
public java.lang.Object getContext()
getContext
in interface oracle.j2ee.ws.common.context.ContextProvider
public void setContext(java.lang.Object context)
setContext
in interface oracle.j2ee.ws.common.context.ContextProvider
context
- the deserialized XML object containing the AOL contextpublic java.lang.Object getContext(boolean isClient)
getContext
in interface oracle.j2ee.ws.common.context.ContextProvider
isClient
- true if this is being during the propagation phase,
false if being called from the receiving end
public void setContext(boolean isClient, java.lang.Object context)
setContext
in interface oracle.j2ee.ws.common.context.ContextProvider
isClient
- true if this is being during the propagation phase,
false if being called from the receiving endcontext
- the deserialized XML object containing the AOL contextpublic org.w3c.dom.Element toXML(org.w3c.dom.Document doc, java.lang.Object context) throws java.lang.Exception
toXML
in interface oracle.j2ee.ws.common.context.ContextProvider
doc
- an XML documentcontext
- the representation of the AOL context
java.lang.Exception
public java.lang.Object fromXML(org.w3c.dom.Element rootEl) throws java.lang.Exception
fromXML
in interface oracle.j2ee.ws.common.context.ContextProvider
rootEl
- the Element to deserialize
java.lang.Exception
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.2) E22562-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |