Skip navigation links
oracle.toplink.remotecommand
Class Command
java.lang.Object
oracle.toplink.remotecommand.Command
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- MergeChangeSetCommand
-
public abstract class Command
- extends java.lang.Object
- implements java.io.Serializable
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
- Since:
- OracleAS TopLink 10g (9.0.4)
- See Also:
CommandManager
, CommandProcessor
, Serialized Form
Method Summary |
ServiceId |
getServiceId()
Return the service identifier of the service where the command originated |
void |
setServiceId(ServiceId newServiceId)
ADVANCED: Set the service identifier of the service where the command originated |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Command
public Command()
getServiceId
public ServiceId getServiceId()
- Return the service identifier of the service where the command originated
-
- Returns:
- The unique identifier of the sending RCM service
setServiceId
public void setServiceId(ServiceId newServiceId)
- ADVANCED: Set the service identifier of the service where the command originated
-
- Parameters:
newServiceId
- The unique identifier of the sending RCM service
Skip navigation links