public abstract class CORBATransportManager extends 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
Constructor and Description |
---|
CORBATransportManager(RemoteCommandManager rcm) |
Modifier and Type | Method and Description |
---|---|
abstract CORBAConnection |
buildCORBAConnection()
PUBLIC:
Return a new instance of the specific CORBA implementation that implements
CORBAConnection interface. |
RemoteConnection |
createConnection(ServiceId connectionServiceId)
INTERNAL:
Create and return a wrapper of a CORBA remote connection to the specified service
|
void |
createLocalConnection()
INTERNAL:
Create the local command connection for this transport in a naming service and
return it.
|
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.
|
void |
initialize()
INTERNAL:
Initialize default properties for RMI.
|
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 . |
static byte[] |
processCommand(byte[] command,
RemoteCommandManager rcm)
INTERNAL:
Helper method that processes a byte[] command.
|
void |
removeLocalConnection()
ADVANCED:
Remove the local connection from remote accesses.
|
addConnectionToExternalService, connectBackToRemote, createConnections, createDiscoveryManager, discardConnections, getConnectionsToExternalServices, getConnectionsToExternalServicesForCommandPropagation, getConnectionToLocalHost, getContext, getEncryptedPassword, getInitialContextFactoryName, getLocalContextProperties, getPassword, getRemoteCommandManager, getRemoteContextProperties, getRemoteHostContext, getUserName, removeAllConnectionsToExternalServices, removeConnectionToExternalService, setConfig, setEncryptedPassword, setEncryptionClassName, setInitialContextFactoryName, setLocalContextProperties, setNamingServiceType, setPassword, setRemoteCommandManager, setRemoteContextProperties, setShouldRemoveConnectionOnError, setUserName, shouldRemoveConnectionOnError
public CORBATransportManager(RemoteCommandManager rcm)
public void initialize()
initialize
in class TransportManager
public java.lang.String getDefaultLocalUrl()
public void removeLocalConnection()
removeLocalConnection
in class TransportManager
public int getNamingServiceType()
getNamingServiceType
in class TransportManager
public abstract java.lang.String getDefaultInitialContextFactoryName()
public abstract CORBAConnection narrow(org.omg.CORBA.Object object)
CORBAConnection
.public abstract CORBAConnection buildCORBAConnection()
CORBAConnection
interface.public RemoteConnection createConnection(ServiceId connectionServiceId)
createConnection
in class TransportManager
public static byte[] processCommand(byte[] command, RemoteCommandManager rcm)
public void createLocalConnection()
createLocalConnection
in class TransportManager
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference