Skip navigation links

Java API Reference for Oracle Infrastructure Web Services
11
Release 1 (11.1.1)

E10654-04


oracle.webservices.rm
Class ReliableSessionFactory

java.lang.Object
  extended by oracle.webservices.rm.ReliableSessionFactory


public abstract class ReliableSessionFactory
extends Object

Field Summary
static String IMPLEMENTATION
           

 

Method Summary
abstract  ReliableSession createReliableSession(Dispatch<SOAPMessage> dispatch, WSRMProtocolVersion version)
          Create a new WS-RM session, and bind it to the specified dispatch.
abstract  ReliableSession createReliableSession(Stub port)
          Create a new WS-RM session, and bind it to the specified Stub.
abstract  ReliableSession createReliableSession(Stub port, WSRMProtocolVersion version)
          Create a new WS-RM session, and bind it to the specified Stub.
abstract  ReliableSession createReliableSession(Stub port, WSRMProtocolVersion version, String soapVersion)
          Create a new WS-RM session, and bind it to the specified Stub.
static ReliableSessionFactory newInstance()
           
static ReliableSessionFactory newInstance(String implementation)
           

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

IMPLEMENTATION

public static final String IMPLEMENTATION

Method Detail

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(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

Java API Reference for Oracle Infrastructure Web Services
11
Release 1 (11.1.1)

E10654-04


Copyright © 2006, 2010, Oracle and/or its affiliates. All rights reserved..