oracle.toplink.remotecommand.corba
Class CORBATransportManager
java.lang.Object
oracle.toplink.remotecommand.TransportManager
oracle.toplink.remotecommand.corba.CORBATransportManager
- Direct Known Subclasses:
- SunCORBATransportManager
- public abstract class CORBATransportManager
- extends TransportManager
| Fields inherited from class oracle.toplink.remotecommand.TransportManager |
DEFAULT_CONTEXT_FACTORY, DEFAULT_DEDICATED_CONNECTION_KEY, DEFAULT_DEDICATED_CONNECTION_VALUE, DEFAULT_IIOP_URL_PORT, DEFAULT_IIOP_URL_PROTOCOL, DEFAULT_NAMING_SERVICE, DEFAULT_REMOVE_CONNECTION_ON_ERROR_MODE, DEFAULT_URL_PORT, DEFAULT_URL_PROTOCOL, DEFAULT_USER_NAME, JNDI_NAMING_SERVICE, REGISTRY_NAMING_SERVICE |
| Method Summary |
abstract CORBAConnection |
buildCORBAConnection()
PUBLIC: Return a new instance of the specific CORBA implementation that implements CORBAConnection interface. |
abstract java.lang.String |
getDefaultInitialContextFactoryName()
PUBLIC: Return the default initial context factory name for a specific CORBA orb. |
java.lang.String |
getDefaultLocalUrl()
ADVANCED: Return the default local URL for JNDI lookups |
int |
getNamingServiceType()
PUBLIC: Return the only supported JNDI naming service type used to look up remote connections to other service instances. |
abstract CORBAConnection |
narrow(org.omg.CORBA.Object object)
PUBLIC: Narrow the object using the specific generated CORBA Helper class and cast it to a CORBAConnection. |
void |
removeLocalConnection()
ADVANCED: Remove the local connection from remote accesses. |
| Methods inherited from class oracle.toplink.remotecommand.TransportManager |
createDiscoveryManager, getInitialContextFactoryName, getLocalContextProperties, getPassword, getRemoteContextProperties, getUserName, setEncryptedPassword, setInitialContextFactoryName, setLocalContextProperties, setNamingServiceType, setPassword, setRemoteContextProperties, setShouldRemoveConnectionOnError, setUserName, shouldRemoveConnectionOnError |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CORBATransportManager
public CORBATransportManager(RemoteCommandManager rcm)
getDefaultLocalUrl
public java.lang.String getDefaultLocalUrl()
- ADVANCED: Return the default local URL for JNDI lookups
removeLocalConnection
public void removeLocalConnection()
- ADVANCED: Remove the local connection from remote accesses. The implementation removes the local connection from JNDI or RMI registry and set it to null. This method is invoked internally by TopLink when the RCM is shutdown and should not be invoked by user's application.
-
- Specified by:
removeLocalConnection in class TransportManager
getNamingServiceType
public int getNamingServiceType()
- PUBLIC: Return the only supported JNDI naming service type used to look up remote connections to other service instances.
-
- Overrides:
getNamingServiceType in class TransportManager
-
- Returns:
- The type of naming service used.
getDefaultInitialContextFactoryName
public abstract java.lang.String getDefaultInitialContextFactoryName()
- PUBLIC: Return the default initial context factory name for a specific CORBA orb.
narrow
public abstract CORBAConnection narrow(org.omg.CORBA.Object object)
- PUBLIC: Narrow the object using the specific generated CORBA Helper class and cast it to a
CORBAConnection.
buildCORBAConnection
public abstract CORBAConnection buildCORBAConnection()
- PUBLIC: Return a new instance of the specific CORBA implementation that implements
CORBAConnection interface.