|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.ws.tx.coordinator.ContextFactory
public class ContextFactory
This class is an abstraction of the two kinds of CoordinationContexts defined in WS-Coordination 2004/10 member submission and 2006/03 OASIS.
Constructor Summary | |
---|---|
ContextFactory()
|
Method Summary | |
---|---|
static CoordinationContextInterface |
createContext(CreateCoordinationContextType contextRequest)
Create a context from the incoming |
static CoordinationContextInterface |
createContext(java.lang.String coordType,
long expires)
Create a new CoordinationContextInterface of the appropriate type based on
the coordination type namespace uri. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContextFactory()
Method Detail |
---|
public static CoordinationContextInterface createContext(@NotNull java.lang.String coordType, long expires)
CoordinationContextInterface
of the appropriate type based on
the coordination type namespace uri.
coordType
- the nsuri of the coordination type, either Constants.WSAT_2004_PROTOCOL
or Constants.WSAT_OASIS_NSURI
expires
- expiration timout in ms
CoordinationContextInterface
public static CoordinationContextInterface createContext(@NotNull CreateCoordinationContextType contextRequest)
contextRequest
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |