Top Description Fields Constructors Methods
org.eclipse.persistence.internal.sessions.coordination.rmi

public Class RMIRemoteCommandConnectionImpl

extends UnicastRemoteObject
implements RMIRemoteCommandConnection
Class Inheritance
All Implemented Interfaces
org.eclipse.persistence.internal.sessions.coordination.rmi.RMIRemoteCommandConnection, java.rmi.Remote
Imports
org.eclipse.persistence.sessions.coordination.Command, .RemoteCommandManager, org.eclipse.persistence.internal.helper.Helper, java.rmi.*, java.rmi.server.UnicastRemoteObject

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
org.eclipse.persistence.sessions.coordination.Command, org.eclipse.persistence.sessions.coordination.RemoteCommandManager

Field Summary

Modifier and TypeField and Description
pack-priv RemoteCommandManager

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Object
executeCommand(Command
TODO
command
)

Implements org.eclipse.persistence.internal.sessions.coordination.rmi.RMIRemoteCommandConnection.executeCommand.

INTERNAL: No support currently exists for returning the result of the command execution.
public Object
executeCommand(byte[]
TODO
command
)

Implements org.eclipse.persistence.internal.sessions.coordination.rmi.RMIRemoteCommandConnection.executeCommand.

INTERNAL: No support currently exists for returning the result of the command execution.
Inherited from java.rmi.server.UnicastRemoteObject:
cloneexportObjectexportObjectexportObjectexportObjectexportObjectunexportObject

Field Detail

rcmback to summary
pack-priv RemoteCommandManager rcm

Constructor Detail

RMIRemoteCommandConnectionImplback to summary
public RMIRemoteCommandConnectionImpl(RemoteCommandManager rcm) throws RemoteException

Method Detail

executeCommandback to summary
public Object executeCommand(Command command) throws RemoteException

Implements org.eclipse.persistence.internal.sessions.coordination.rmi.RMIRemoteCommandConnection.executeCommand.

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).

Parameters
command:Command

Doc from org.eclipse.persistence.internal.sessions.coordination.rmi.RMIRemoteCommandConnection.executeCommand.

TODO

Returns:Object

Doc from org.eclipse.persistence.internal.sessions.coordination.rmi.RMIRemoteCommandConnection.executeCommand.

TODO

Annotations
@Override
Exceptions
RemoteException:

Doc from org.eclipse.persistence.internal.sessions.coordination.rmi.RMIRemoteCommandConnection.executeCommand.

TODO

executeCommandback to summary
public Object executeCommand(byte[] command) throws RemoteException

Implements org.eclipse.persistence.internal.sessions.coordination.rmi.RMIRemoteCommandConnection.executeCommand.

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).

Parameters
command:byte[]

Doc from org.eclipse.persistence.internal.sessions.coordination.rmi.RMIRemoteCommandConnection.executeCommand.

TODO

Returns:Object

Doc from org.eclipse.persistence.internal.sessions.coordination.rmi.RMIRemoteCommandConnection.executeCommand.

TODO

Annotations
@Override
Exceptions
RemoteException:

Doc from org.eclipse.persistence.internal.sessions.coordination.rmi.RMIRemoteCommandConnection.executeCommand.

TODO