Class RMIRemoteCommandConnectionImpl
- java.lang.Object
-
- javax.rmi.PortableRemoteObject
-
- org.eclipse.persistence.internal.sessions.coordination.rmi.iiop.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
-
-
Constructor Summary
Constructors Constructor Description RMIRemoteCommandConnectionImpl(RemoteCommandManager rcm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectexecuteCommand(byte[] command)INTERNAL: No support currently exists for returning the result of the command execution.java.lang.ObjectexecuteCommand(Command command)INTERNAL: No support currently exists for returning the result of the command execution.
-
-
-
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:
executeCommandin interfaceRMIRemoteCommandConnection- Throws:
java.rmi.RemoteException
-
executeCommand
public java.lang.Object executeCommand(byte[] command) throws java.rmi.RemoteExceptionINTERNAL: 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:
executeCommandin interfaceRMIRemoteCommandConnection- Throws:
java.rmi.RemoteException
-
-