Class RMIRemoteCommandConnectionImpl

  • All Implemented Interfaces:
    java.rmi.Remote, RMIRemoteCommandConnection

    public class RMIRemoteCommandConnectionImpl
    extends javax.rmi.PortableRemoteObject
    implements RMIRemoteCommandConnection

    Purpose: The implementation for the remote RMI-IIOP object used for transporting the remote command.

    Description: This implementation class is the RMI-IIOP remote object that is wrapped by the conection abstraction. It is the first point of entry of the command into the remote service. It simply hands the command to the RCM to be processed.

    Since:
    TopLink 10i
    See Also:
    Command, RemoteCommandManager
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object executeCommand​(byte[] command)
      INTERNAL: No support currently exists for returning the result of the command execution.
      java.lang.Object executeCommand​(Command command)
      INTERNAL: No support currently exists for returning the result of the command execution.
      • Methods inherited from class javax.rmi.PortableRemoteObject

        connect, exportObject, narrow, toStub, unexportObject
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RMIRemoteCommandConnectionImpl

        public RMIRemoteCommandConnectionImpl​(RemoteCommandManager rcm)
                                       throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • executeCommand

        public java.lang.Object executeCommand​(Command command)
                                        throws java.rmi.RemoteException
        INTERNAL: No support currently exists for returning the result of the command execution. Currently only null is returned on success. On failure an error string is returned (to avoid returning an object/exception that may not exist on the sending side).
        Specified by:
        executeCommand in interface RMIRemoteCommandConnection
        Throws:
        java.rmi.RemoteException
      • executeCommand

        public java.lang.Object executeCommand​(byte[] command)
                                        throws java.rmi.RemoteException
        INTERNAL: No support currently exists for returning the result of the command execution. Currently only null is returned on success. On failure an error string is returned (to avoid returning an object/exception that may not exist on the sending side).
        Specified by:
        executeCommand in interface RMIRemoteCommandConnection
        Throws:
        java.rmi.RemoteException