Class RMIRemoteCommandConnectionImpl

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

    public class RMIRemoteCommandConnectionImpl
    extends java.rmi.server.UnicastRemoteObject
    implements RMIRemoteCommandConnection

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

    Description: This implementation class is the RMI 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:
    OracleAS TopLink 10g (9.0.4)
    See Also:
    Command, RemoteCommandManager, Serialized Form
    • Field Summary

      • Fields inherited from class java.rmi.server.RemoteObject

        ref
    • 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 java.rmi.server.UnicastRemoteObject

        clone, exportObject, exportObject, exportObject, exportObject, exportObject, unexportObject
      • Methods inherited from class java.rmi.server.RemoteServer

        getClientHost, getLog, setLog
      • Methods inherited from class java.rmi.server.RemoteObject

        equals, getRef, hashCode, toString, toStub
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, 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