Skip navigation links
oracle.webservices.rm
Class ReliableSessionFactory
java.lang.Object
oracle.webservices.rm.ReliableSessionFactory
-
public abstract class ReliableSessionFactory
- extends Object
IMPLEMENTATION
public static final String IMPLEMENTATION
newInstance
public static ReliableSessionFactory newInstance()
-
- Returns:
- An instance of the default ReliableSessionFactory implementation.
newInstance
public static ReliableSessionFactory newInstance(String implementation)
-
- Returns:
- An instance of the specified ReliableSessionFactory implementation.
createReliableSession
public abstract ReliableSession createReliableSession(javax.xml.ws.Dispatch<SOAPMessage> dispatch,
WSRMProtocolVersion version)
- Create a new WS-RM session, and bind it to the specified dispatch.
-
- Parameters:
dispatch
- The Dispatch
to which the WS-RM session is to be bound.
version
- The WS-RM protocol version for the session.
- Returns:
- A ReliableSession instance.
createReliableSession
public abstract ReliableSession createReliableSession(Stub port)
- Create a new WS-RM session, and bind it to the specified Stub.
-
- Parameters:
port
- The port to which the WS-RM session is to be bound.
- Returns:
- A ReliableSession instance.
createReliableSession
public abstract ReliableSession createReliableSession(Stub port,
WSRMProtocolVersion version)
- Create a new WS-RM session, and bind it to the specified Stub.
-
- Parameters:
port
- The port to which the WS-RM session is to be bound.
version
- The WS-RM protocol version for the session.
- Returns:
- A ReliableSession instance.
createReliableSession
public abstract ReliableSession createReliableSession(Stub port,
WSRMProtocolVersion version,
String soapVersion)
- Create a new WS-RM session, and bind it to the specified Stub.
-
- Parameters:
port
- The port to which the WS-RM session is to be bound.
version
- The WS-RM protocol version for the session.
soapVersion
- One of either SOAPVersion.SOAP_1_2
or SOAPVersion.SOAP_1_2
- Returns:
- A ReliableSession instance.
- See Also:
SOAPVersion
Skip navigation links