Oracle Application Server TopLink API Reference
10g (9.0.4)

B10491-01

oracle.toplink.remotecommand
Class TransportManager

java.lang.Object
  |
  +--oracle.toplink.remotecommand.TransportManager
Direct Known Subclasses:
RMITransportManager

public abstract class TransportManager
extends java.lang.Object

Purpose: Provide an abstract class that offers a common API to handling remote command connections.

Description: This class manages the remote connections to other RCM service instances and posts the local connection to this service instance in a name service so that other RCM service instances can connect to it.

Since:
OracleAS TopLink 10g (9.0.4)

Field Summary
static int JNDI_NAMING_SERVICE
          Valid values for naming service type
static int REGISTRY_NAMING_SERVICE
           

 

Constructor Summary
TransportManager()
           

 

Method Summary
 java.lang.String getInitialContextFactoryName()
          PUBLIC: Return the context factory name used as the value to the INITIAL_CONTEXT_FACTORY key in the cached context properties.
 java.util.Hashtable getLocalContextProperties()
          ADVANCED: Return the properties that will be used to create the initial context for local JNDI access.
 int getNamingServiceType()
          PUBLIC: Return the type of naming service used to look up remote connections to other service instances.
 java.lang.String getPassword()
          PUBLIC: Return the password used as the value to the SECURITY_CREDENTIALS key in the cached context properties.
 java.util.Hashtable getRemoteContextProperties()
          ADVANCED: Return the cached properties that will be used to create the initial context when doing remote JNDI lookups.
 java.lang.String getUserName()
          PUBLIC: Return the user name used as the value to the SECURITY_PRINCIPAL key in the cached context properties.
 void setInitialContextFactoryName(java.lang.String contextFactoryName)
          ADVANCED: Set the context factory name used as the value to the INITIAL_CONTEXT_FACTORY key in the cached context properties.
 void setLocalContextProperties(java.util.Hashtable properties)
          ADVANCED: Set the properties that will be used to create the initial context for local JNDI access.
 void setNamingServiceType(int serviceType)
          ADVANCED: Set the type of naming service used to look up remote connections to other service instances.
 void setPassword(java.lang.String password)
          ADVANCED: Set the password used as the value to the SECURITY_CREDENTIALS key in the cached context properties.
 void setRemoteContextProperties(java.util.Hashtable properties)
          ADVANCED: Set the cached properties that will be used to create the initial context when doing remote JNDI lookups.
 void setUserName(java.lang.String userName)
          ADVANCED: Set the user name used as the value to the SECURITY_PRINCIPAL key in the cached context properties.

 

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

 

Field Detail

JNDI_NAMING_SERVICE

public static final int JNDI_NAMING_SERVICE
Valid values for naming service type
See Also:
Constant Field Values

REGISTRY_NAMING_SERVICE

public static final int REGISTRY_NAMING_SERVICE
See Also:
Constant Field Values
Constructor Detail

TransportManager

public TransportManager()
Method Detail

getNamingServiceType

public int getNamingServiceType()
PUBLIC: Return the type of naming service used to look up remote connections to other service instances.
Returns:
The type of naming service used.

setNamingServiceType

public void setNamingServiceType(int serviceType)
ADVANCED: Set the type of naming service used to look up remote connections to other service instances. The service type must be one of JNDI_NAMING_SERVICE or REGISTRY_NAMING_SERVICE.

getUserName

public java.lang.String getUserName()
PUBLIC: Return the user name used as the value to the SECURITY_PRINCIPAL key in the cached context properties.

setUserName

public void setUserName(java.lang.String userName)
ADVANCED: Set the user name used as the value to the SECURITY_PRINCIPAL key in the cached context properties.

getPassword

public java.lang.String getPassword()
PUBLIC: Return the password used as the value to the SECURITY_CREDENTIALS key in the cached context properties.

setPassword

public void setPassword(java.lang.String password)
ADVANCED: Set the password used as the value to the SECURITY_CREDENTIALS key in the cached context properties.

getInitialContextFactoryName

public java.lang.String getInitialContextFactoryName()
PUBLIC: Return the context factory name used as the value to the INITIAL_CONTEXT_FACTORY key in the cached context properties.

setInitialContextFactoryName

public void setInitialContextFactoryName(java.lang.String contextFactoryName)
ADVANCED: Set the context factory name used as the value to the INITIAL_CONTEXT_FACTORY key in the cached context properties.

getRemoteContextProperties

public java.util.Hashtable getRemoteContextProperties()
ADVANCED: Return the cached properties that will be used to create the initial context when doing remote JNDI lookups.

setRemoteContextProperties

public void setRemoteContextProperties(java.util.Hashtable properties)
ADVANCED: Set the cached properties that will be used to create the initial context when doing remote JNDI lookups.

getLocalContextProperties

public java.util.Hashtable getLocalContextProperties()
ADVANCED: Return the properties that will be used to create the initial context for local JNDI access.

setLocalContextProperties

public void setLocalContextProperties(java.util.Hashtable properties)
ADVANCED: Set the properties that will be used to create the initial context for local JNDI access.

Copyright © 2003 Oracle Corporation. All Rights Reserved.