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)
See Also:
  • Constructor Details

    • RCMCommand

      public RCMCommand()
  • Method Details

    • 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 class Command