public interface LocalExecutionClientService extends ClientService
ClientService.ActiveAgentChangedListener, ClientService.ServiceStateListener| Modifier and Type | Method and Description |
|---|---|
ActivityStarting |
getActivityStarting(EBPInstanceReference activity)
Gets the interface for (asynchronous) start operations of the designated
activity independently from the execution manager holding the activity.
|
java.net.URI[] |
getAutoStartRuntimeManager()
Gets the URIs of the runtime manager for autostarting.
|
ExecutionControlManager |
getExecutionControlManager(EBPInstanceReference activity)
Gets the execution control manager for the designated activity.
|
ExecutionHistory |
getExecutionHistory()
Gets the execution history.
|
ExecutionManager |
getExecutionManagerForActivity(EBPInstanceReference ebpInstanceReference)
Returns a reference to the execution manager that is responsible for the
designated activity.
|
GUIManager |
getGUIManager()
Gets the GUI manager responsible for synchronising the currently selected
element in the GUI.
|
ProcessImageRenderer |
getProcessImageRenderer() |
ProcessManager |
getProcessManagerForInstanceId(java.net.URI[] emUris,
java.util.UUID instId)
Gets the process manager that is responsible for the instance with the designated (logical) ID
being executed on the designated execution manager.
|
ProcessManager |
getProcessManagerForInstanceId(java.util.UUID instId)
Deprecated.
This uses the default execution manager. In case of several ones, it may be the
wrong one. Strongly try to use
getProcessManagerForInstanceId(URI[], UUID). |
ProcessManager |
getProcessManagerForInstanceLogId(java.net.URI[] emUris,
java.util.UUID instLogId)
Gets the process manager that is responsible for the instance with the designated (internal) ID
being executed on the designated execution manager.
|
ProcessModelFactory |
getProcessModelFactory()
CL_ARCH client service documentation
|
RuntimeEnvironmentFactory |
getRuntimeEnvironmentFactory()
Gets the anonymous instance of the runtime environment factory using the
classloader of this registry.
|
RuntimeService |
getRuntimeService()
Gets the runtime service for this client service allowing to execute
activities directly by the caller and not in a runtime manager.
|
SynchronousActivityStarting |
getSynchronousActivityStarting(EBPInstanceReference activity)
Gets the interface for (synchronous) start operations of the designated
activity independently from the execution manager holding the activity.
|
addActiveAgentListener, addGUIListener, addServiceStateListener, agentsChanged, connectAll, disconnectAll, getActiveAgent, getAuthenticatedAgents, getAuthentication, getAvailableLocales, getClusterName, getExecutorService, getFilterFactory, getFormatterFactory, getLicenceManager, getLocalisationFactory, getScheduledExecutorService, getSessionToken, getSessionToken, getSessionToken, getSessionToken, guiSelectionChanged, isConnected, logoff, removeActiveAgentListener, removeGUIListener, removeServiceStateListener, setActiveAgent, setAuthenticatedAgentsgetLocalUris, getRelease, getRuntimeRequiredServices, getServiceInstanceName, getStartupRequiredServices, getURIs, init, ping, preShutdown, shutdown, startgetDefaultCharset, getDefaultLocale, getJavaVersion, getLoggedOnAgents, getOperatingSystemArchitecture, getOperatingSystemName, getOperatingSystemVersion, getRuntimeManagerURIs, getUsedLocale, ping, serverReturned, serverShutdownProcessModelFactory getProcessModelFactory()
RuntimeEnvironmentFactory getRuntimeEnvironmentFactory()
InvalidServiceStateException - If this registry failed to start or is shut down, an
InvalidServiceStateException will be thrown.ExecutionControlManager getExecutionControlManager(EBPInstanceReference activity)
activity - The activity for which to retrieve the execution control
manager of the appropriate runtime manager.RuntimeManager.getExecutionControlManager()java.net.URI[] getAutoStartRuntimeManager()
ExecutionManager getExecutionManagerForActivity(EBPInstanceReference ebpInstanceReference)
ebpInstanceReference - identifies the activityInvalidServiceStateException - If this registry failed to start or is shut down, an
InvalidServiceStateException will be thrown.java.lang.IllegalArgumentException - If one of the registered URIs is not
valid, a IllegalArgumentException will be thrown.@Deprecated ProcessManager getProcessManagerForInstanceId(java.util.UUID instId)
getProcessManagerForInstanceId(URI[], UUID).instId - The (logical) ID of the instance for which to retrieve the corresponding process
manager. This is resolved using the default execution manager.null in case it
could not be retrieved.InvalidServiceStateException - If this registry failed
to start or is shut down, an InvalidServiceStateException will be
thrown.ProcessManager getProcessManagerForInstanceId(java.net.URI[] emUris, java.util.UUID instId)
emUris - The URIs of the execution manager executing the instance with the designated ID.instId - The (logical) ID of the instance for which to retrieve the corresponding process
manager. This is resolved using the designated execution manager.null in case it
could not be retrieved (or the corresponding execution manager).InvalidServiceStateException - If this registry failed
to start or is shut down, an InvalidServiceStateException will be
thrown.ProcessManager getProcessManagerForInstanceLogId(java.net.URI[] emUris, java.util.UUID instLogId)
emUris - The URIs of the execution manager executing the instance with the designated ID.instLogId - The (internal) ID of the instance for which to retrieve the corresponding
process manager. This is resolved using the designated execution manager.null in case it
could not be retrieved (or the corresponding execution manager).InvalidServiceStateException - If this registry failed
to start or is shut down, an InvalidServiceStateException will be
thrown.ExecutionHistory getExecutionHistory()
FIXME: the execution history is actually specific to a process manager, i.e. each p.m. can have its own execution history.
ActivityStarting getActivityStarting(EBPInstanceReference activity)
getExecutionManager().getActivityStarting() except that the
returned interface also sets the appropriate
RuntimeManager-URIs.
It may only be called when online.activity - The activity for which to retrieve the corresponding
(asynchronous) start interface of the appropriate execution
manager.ExecutionManager.getActivityStarting()SynchronousActivityStarting getSynchronousActivityStarting(EBPInstanceReference activity)
getRuntimeManager().getSynchronousActivityStarting(). It
may only be called when online.
This method needs not be implemented and may return null! In this case use
getActivityStarting(EBPInstanceReference).
activity - The activity for which to retrieve the corresponding
(synchronous) start interface of the appropriate runtime manager.RuntimeManager.getSynchronousActivityStarting()GUIManager getGUIManager()
RuntimeService getRuntimeService()
ProcessImageRenderer getProcessImageRenderer()