Class CORBATransportManager

    • Method Detail

      • initialize

        public void initialize()
        INTERNAL: Initialize default properties for RMI.
        Overrides:
        initialize in class TransportManager
      • 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 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 a CORBAConnection.
      • buildCORBAConnection

        public abstract org.eclipse.persistence.internal.sessions.coordination.corba.CORBAConnection buildCORBAConnection()
        PUBLIC: Return a new instance of the specific CORBA implementation that implements CORBAConnection interface.
      • 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:
        createConnection in class TransportManager
      • processCommand

        public static byte[] processCommand​(byte[] command,
                                            RemoteCommandManager rcm)
        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:
        createLocalConnection in class TransportManager