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:
Serializable
,Remote
,RMIRemoteCommandConnection
public class RMIRemoteCommandConnectionImpl extends 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
-
-
Constructor Summary
Constructors Constructor Description RMIRemoteCommandConnectionImpl(RemoteCommandManager rcm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
executeCommand(byte[] command)
INTERNAL: No support currently exists for returning the result of the command execution.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, unexportObject
-
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
-
-
-
-
Constructor Detail
-
RMIRemoteCommandConnectionImpl
public RMIRemoteCommandConnectionImpl(RemoteCommandManager rcm) throws RemoteException
- Throws:
RemoteException
-
-
Method Detail
-
executeCommand
public Object executeCommand(Command command) throws 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 interfaceRMIRemoteCommandConnection
- Throws:
RemoteException
-
executeCommand
public Object executeCommand(byte[] command) throws 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 interfaceRMIRemoteCommandConnection
- Throws:
RemoteException
-
-