Purpose: Provide an extendable framework class for a Command object that can be remotely executed.
Description: Is the root command class from which all other remotely executable commands must extend. A Command is invoked by calling propagateCommand() on a local CommandManager, and is executed on each remote service by each remote CommandManager invoking processCommand() on its local
CommandManager, CommandProcessor
| Modifier and Type | Field and Description |
|---|---|
| pack-priv ServiceId | serviceId
The unique calling card of the service that initiated the command |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public abstract void | executeWithSession(AbstractSession
The session that can be used to execute the command on. session)INTERNAL: If the CommandProcessor is a EclipseLink session then this method will get executed. |
| public ServiceId | Returns: The unique identifier of the sending RCM servicePUBLIC: Return the service identifier of the service where the command originated |
| public boolean | |
| public void | setServiceId(ServiceId
The unique identifier of the sending RCM service newServiceId)ADVANCED: Set the service identifier of the service where the command originated |
| serviceId | back to summary |
|---|---|
| pack-priv ServiceId serviceId The unique calling card of the service that initiated the command | |
| Command | back to summary |
|---|---|
| protected Command() Default constructor. | |
| executeWithSession | back to summary |
|---|---|
| public abstract void executeWithSession(AbstractSession session) INTERNAL: If the CommandProcessor is a EclipseLink session then this method will get executed.
| |
| getServiceId | back to summary |
|---|---|
| public ServiceId getServiceId() PUBLIC: Return the service identifier of the service where the command originated
| |
| isInternalCommand | back to summary |
|---|---|
| public boolean isInternalCommand() INTERNAL: Determine whether this command is public or internal to EclipseLink. User commands must return false. | |
| setServiceId | back to summary |
|---|---|
| public void setServiceId(ServiceId newServiceId) ADVANCED: Set the service identifier of the service where the command originated
| |