Module eclipselink
Class CORBATransportManager
java.lang.Object
org.eclipse.persistence.sessions.coordination.TransportManager
org.eclipse.persistence.sessions.coordination.corba.CORBATransportManager
- Direct Known Subclasses:
SunCORBATransportManager
-
Field Summary
Fields inherited from class org.eclipse.persistence.sessions.coordination.TransportManager
connectionsToExternalServices, 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, localConnection, localContextProperties, namingServiceType, rcm, REGISTRY_NAMING_SERVICE, remoteContextProperties, securableObjectHolder, shouldRemoveConnectionOnError -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract org.eclipse.persistence.internal.sessions.coordination.corba.CORBAConnectionPUBLIC: Return a new instance of the specific CORBA implementation that implementsCORBAConnectioninterface.org.eclipse.persistence.internal.sessions.coordination.RemoteConnectioncreateConnection(ServiceId connectionServiceId) INTERNAL: Create and return a wrapper of a CORBA remote connection to the specified servicevoidINTERNAL: Create the local command connection for this transport in a naming service and return it.abstract StringPUBLIC: Return the default initial context factory name for a specific CORBA orb.ADVANCED: Return the default local URL for JNDI lookupsintPUBLIC: Return the only supported JNDI naming service type used to look up remote connections to other service instances.voidINTERNAL: Initialize default properties for RMI.abstract org.eclipse.persistence.internal.sessions.coordination.corba.CORBAConnectionnarrow(org.omg.CORBA.Object object) PUBLIC: Narrow the object using the specific generated CORBA Helper class and cast it to aCORBAConnection.static byte[]processCommand(byte[] command, RemoteCommandManager rcm) INTERNAL: Helper method that processes a byte[] command.voidADVANCED: Remove the local connection from remote accesses.Methods inherited from class org.eclipse.persistence.sessions.coordination.TransportManager
addConnectionToExternalService, connectBackToRemote, createConnections, createDiscoveryManager, decrypt, discardConnections, encrypt, getConnectionsToExternalServices, getConnectionsToExternalServicesForCommandPropagation, getConnectionToLocalHost, getContext, getEncryptedPassword, getInitialContextFactoryName, getLocalContextProperties, getPassword, getRemoteCommandManager, getRemoteContextProperties, getRemoteHostContext, getUserName, hasPassword, newTransportManager, removeAllConnectionsToExternalServices, removeConnectionToExternalService, setConfig, setEncryptedPassword, setEncryptionClassName, setInitialContextFactoryName, setLocalContextProperties, setNamingServiceType, setPassword, setRemoteCommandManager, setRemoteContextProperties, setShouldRemoveConnectionOnError, setUserName, shouldRemoveConnectionOnError
-
Constructor Details
-
CORBATransportManager
-
-
Method Details
-
initialize
public void initialize()INTERNAL: Initialize default properties for RMI.- Overrides:
initializein classTransportManager
-
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:
removeLocalConnectionin classTransportManager
-
getNamingServiceType
public int getNamingServiceType()PUBLIC: Return the only supported JNDI naming service type used to look up remote connections to other service instances.- Overrides:
getNamingServiceTypein classTransportManager- Returns:
- The type of naming service used.
-
getDefaultInitialContextFactoryName
PUBLIC: Return the default initial context factory name for a specific CORBA orb. -
narrow
public abstract org.eclipse.persistence.internal.sessions.coordination.corba.CORBAConnection narrow(org.omg.CORBA.Object object) PUBLIC: Narrow the object using the specific generated CORBA Helper class and cast it to aCORBAConnection. -
buildCORBAConnection
public abstract org.eclipse.persistence.internal.sessions.coordination.corba.CORBAConnection buildCORBAConnection()PUBLIC: Return a new instance of the specific CORBA implementation that implementsCORBAConnectioninterface. -
createConnection
public org.eclipse.persistence.internal.sessions.coordination.RemoteConnection createConnection(ServiceId connectionServiceId) INTERNAL: Create and return a wrapper of a CORBA remote connection to the specified service- Specified by:
createConnectionin classTransportManager
-
processCommand
INTERNAL: Helper method that processes a byte[] command. This method is called bye the CORBA implementation class that implements the method byte[] executeCommand(byte[] command) -
createLocalConnection
public void createLocalConnection()INTERNAL: Create the local command connection for this transport in a naming service and return it.- Specified by:
createLocalConnectionin classTransportManager
-