Class RCMCommand
- java.lang.Object
-
- org.eclipse.persistence.sessions.coordination.Command
-
- org.eclipse.persistence.internal.sessions.coordination.RCMCommand
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ConnectToHostCommand
public abstract class RCMCommand extends Command
Purpose: An abstract class that can be subclassed when internal commands need to be added.
Description: This command provides a framework for execution of commands that are internal to EclipseLink. Commands that subclass this class will not get converted or handed off to the CommandProcessor to be executed. They will instead be executed by the RemoteCommandManager directly. Subclasses should implement the executeWithRCM method to perform the execution steps that are relevant to the command.
- Since:
- OracleAS TopLink 10g (9.0.4)
- Author:
- Steven Vo
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RCMCommand()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
executeWithRCM(RemoteCommandManager rcm)
boolean
isInternalCommand()
INTERNAL: Determine whether this command is public or internal to EclipseLink.-
Methods inherited from class org.eclipse.persistence.sessions.coordination.Command
executeWithSession, getServiceId, setServiceId
-
-
-
-
Method Detail
-
executeWithRCM
public abstract void executeWithRCM(RemoteCommandManager rcm)
-
isInternalCommand
public boolean isInternalCommand()
Description copied from class:Command
INTERNAL: Determine whether this command is public or internal to EclipseLink. User commands must return false.- Overrides:
isInternalCommand
in classCommand
-
-