public class AbstractTransferableGUIContext
extends java.lang.Object
TransferableGUIContext just
enough to satisfy the interface. Subclasses should provide more information
to allow for creating a local GUI context for a remote execution. This
information also needs to be provided via getGUIContextAttributes()
so subclasses should override this method.| Modifier and Type | Field and Description |
|---|---|
protected EBPInstanceReference |
activity
The
EBPInstanceReference identifying the process instance node
this GUI context has been created for. |
protected ActivityInstance |
activityInstance
The activity instance this GUI context has been created for.
|
protected ExecutionContext |
executionContext
The execution context of the activity for which this GUI context has been
created for.
|
protected java.util.Locale |
locale
The locale of the agent requesting this GUI context.
|
protected java.lang.String |
sessionID
The ID of the execution session this GUI context has been created for
uniquely identifying the component execution on the (remote) runtime
manager).
|
protected java.lang.String |
transfrdGUIContextID
The ID of transferred GUI context which may differ from that provided and
requested by the activity instance.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractTransferableGUIContext(AbstractTransferableGUIContext context)
Creates a new instance of the base implementation of a
TransferableGUIContext
having the fields of the designated GUI context. |
protected |
AbstractTransferableGUIContext(ActivityInstance activityInstance,
EBPInstanceReference activity,
java.lang.String sessionID,
ExecutionContext executionContext,
java.lang.String transfrdGUIContextID)
Creates a new instance of the base implementation of a
TransferableGUIContext having the designated fields. |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
This is an empty implementation since subclasses are usually only used
for transferring the GUI context from the executing runtime manager to the
displaying client.
|
ActivityInstance |
getActivityInstance() |
EBPInstanceReference |
getEBPInstanceReference() |
ExecutionContext |
getExecutionContext() |
java.util.Map<java.lang.String,java.lang.String> |
getGUIContextAttributes()
Always returns the empty map.
|
java.util.Locale |
getLocale() |
java.lang.String |
getSessionID() |
java.lang.String |
getTransferredGUIContextID() |
protected final ActivityInstance activityInstance
protected final java.util.Locale locale
null if the
activity instance should not be localised.protected final EBPInstanceReference activity
EBPInstanceReference identifying the process instance node
this GUI context has been created for.protected final java.lang.String sessionID
protected final ExecutionContext executionContext
protected final java.lang.String transfrdGUIContextID
protected AbstractTransferableGUIContext(ActivityInstance activityInstance, EBPInstanceReference activity, java.lang.String sessionID, ExecutionContext executionContext, java.lang.String transfrdGUIContextID)
TransferableGUIContext having the designated fields.activityInstance - The activity instance this GUI context has been
created for.activity - The EBPInstanceReference identifying the
process instance node this GUI context has been created for.sessionID - The ID of the execution session this GUI context has been
created for uniquely identifying the component execution on the
(remote) runtime manager).executionContext - The execution context of the activity for which
this GUI context has been created for.transfrdGUIContextID - The ID of transferred GUI context which may
differ from that
provided and requested by the activity instance.protected AbstractTransferableGUIContext(AbstractTransferableGUIContext context)
TransferableGUIContext
having the fields of the designated GUI context.context - The GUI context from which to retrieve the fields.public ActivityInstance getActivityInstance()
public java.util.Locale getLocale()
public EBPInstanceReference getEBPInstanceReference()
public java.lang.String getSessionID()
public ExecutionContext getExecutionContext()
public java.lang.String getTransferredGUIContextID()
public java.util.Map<java.lang.String,java.lang.String> getGUIContextAttributes()
public void close()