Class CORBARemoteCommandConnection

  • All Implemented Interfaces:
    java.io.Serializable

    public class CORBARemoteCommandConnection
    extends RemoteConnection

    Purpose: Define an Sun CORBA implementation class for the remote object that can execute a remote command.

    Description: This implementation class is the CORBA transport version of the connection that is used by the remote command manager to send remote commands. This object just wraps the CORBAConnectionImpl remote object

    Since:
    OracleAS TopLink 10.0.3
    Author:
    Steven Vo
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object executeCommand​(byte[] command)
      INTERNAL: This method invokes the remote object with the Command argument, and causes it to execute the command in the remote VM.
      java.lang.Object executeCommand​(Command command)
      INTERNAL: This method invokes the remote object with the Command argument, and causes it to execute the command in the remote VM.
      • Methods inherited from class java.lang.Object

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

      • CORBARemoteCommandConnection

        public CORBARemoteCommandConnection​(CORBAConnection connection)
    • Method Detail

      • executeCommand

        public java.lang.Object executeCommand​(Command command)
                                        throws CommunicationException
        INTERNAL: This method invokes the remote object with the Command argument, and causes it to execute the command in the remote VM. The result is currently assumed to be either null if successful, or an exception string if an exception was thrown during execution. If a SystemException occurred then a communication problem occurred. In this case the exception will be wrapped in a CommunicationException and re-thrown.
        Specified by:
        executeCommand in class RemoteConnection
        Throws:
        CommunicationException
      • executeCommand

        public java.lang.Object executeCommand​(byte[] command)
                                        throws CommunicationException
        INTERNAL: This method invokes the remote object with the Command argument, and causes it to execute the command in the remote VM. The result is currently assumed to be either null if successful, or an exception string if an exception was thrown during execution. If a SystemException occurred then a communication problem occurred. In this case the exception will be wrapped in a CommunicationException and re-thrown.
        Specified by:
        executeCommand in class RemoteConnection
        Throws:
        CommunicationException