|
Oracle® Fusion Middleware Java API Reference for EclipseLink 11g Release 1 (11.1.1) E26376-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
org.eclipse.persistence.sessions.coordination.Command
public abstract class Command
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, Serialized Form| Constructor Summary | |
|---|---|
Command() |
|
| Method Summary | |
|---|---|
abstract void |
executeWithSession(org.eclipse.persistence.internal.sessions.AbstractSession session)INTERNAL: If the CommandProcessor is a EclipseLink session then this method will get executed. |
ServiceId |
getServiceId()PUBLIC: Return the service identifier of the service where the command originated |
boolean |
isInternalCommand()INTERNAL: Determine whether this command is public or internal to EclipseLink. |
void |
setServiceId(ServiceId newServiceId)ADVANCED: Set the service identifier of the service where the command originated |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Command()
| Method Detail |
|---|
public abstract void executeWithSession(org.eclipse.persistence.internal.sessions.AbstractSession session)
session - The session that can be used to execute the command on.public ServiceId getServiceId()
public void setServiceId(ServiceId newServiceId)
newServiceId - The unique identifier of the sending RCM servicepublic boolean isInternalCommand()
|
Oracle® Fusion Middleware Java API Reference for EclipseLink 11g Release 1 (11.1.1) E26376-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||