Class RMIRemoteCommandConnectionImpl
- java.lang.Object
-
- java.rmi.server.RemoteObject
-
- java.rmi.server.RemoteServer
-
- java.rmi.server.UnicastRemoteObject
-
- org.eclipse.persistence.internal.sessions.coordination.rmi.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
-
-
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.-
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, exportObject, exportObject, unexportObject
-
-
-
-
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
-
-