public class RemoteHTMLGUIManager extends AbstractGUIManager
NullGUIContext and a
RemoteHTMLContext as the GUIContext for (nearly)
GUI-less clients with a webserver.AbstractADEPT2Service.ActiveSessionsCONF_TERMINATION_TIMEOUT, earlyTerminates, guiContexts, listeners, TERMINATION_TIMEOUTCONF_CSV_LOGGING, configuration, logger, registry, runtimeRequiredServices, startupRequiredServices| Constructor and Description |
|---|
RemoteHTMLGUIManager(Configuration configuration,
Registry registry)
Instantiate the manager that returns only NullGUIContexts on client
requests.
|
| Modifier and Type | Method and Description |
|---|---|
GUIContext |
getGUIContext(SessionToken session,
ActivityInstance activityInstance,
EBPInstanceReference ebpInstanceReference,
java.lang.String sessionID,
ExecutionContext executionContext,
ExecutionControlManager ecm,
java.lang.Thread thread)
Gets an appropriate GUI context for the designated activity as configured
locally for the corresponding client.
|
activityClosed, activityFailed, activityReset, activityResumed, activitySignalled, activitySuspended, activitySuspended, closeGUIContext, createGUIContext, getActivityStateListenerURIs, getExecutionControlManager, getLocalForRemoteGuiContext, terminateRemoteExecution_sessionActive, _sessionFinished, activeOrInvalidServiceStateException, changeLogContext, changeLogContext, changeLogContext, consoleLog, csvLoggingEnabled, getClassSpecificJulLogger, getDependencyRegistry, getLocalUris, getLogger, getRelease, getRuntimeRequiredServices, getServiceInstanceName, getStartupRequiredServices, getURIs, getUserCredentials, init, isActive, isSessionActive, isShutdown, logMethodEntry, logMethodEntry, logMethodEntry, logMethodExit, logMethodExit, ping, preShutdown, privilegeSession, privilegeThread, revertLogContextChanges, sessionActive, sessionActive, sessionActive, sessionActive, sessionFinished, sessionFinished, shutdown, signalShutdown, signalStart, start, unprivilegeThreadclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLocalUris, getRelease, getRuntimeRequiredServices, getServiceInstanceName, getStartupRequiredServices, getURIs, init, ping, preShutdown, shutdown, startpublic RemoteHTMLGUIManager(Configuration configuration, Registry registry)
registry - The assigned registry of this GUIManager instance.configuration - The configuration assigned to this GUIManager instance.public GUIContext getGUIContext(SessionToken session, ActivityInstance activityInstance, EBPInstanceReference ebpInstanceReference, java.lang.String sessionID, ExecutionContext executionContext, ExecutionControlManager ecm, java.lang.Thread thread) throws GUIContextUnavailableException
GUIManagersession - The session which is used to check for access rights on this
method.activityInstance - The activity instance for which a GUI context is to
be retrieved. If a localisation is available, it will already be
applied.ebpInstanceReference - The EBP-instance reference (identifies the
corresponding instance node) for which a GUI context is to be
retrieved.sessionID - The ID of the session in which the GUI context is needed.executionContext - The context in which the component the GUI context
is retrieved for is executed.ecm - A reference to control the execution, for
instance, to close the application when the user closes the GUI
window of the returned GUI context.thread - The thread, the component runs inside. The GUI context must
check calls to it against this thread, to ensure thread safety.GUIContextUnavailableException - If the requested GUI context can not
be created, a GUIContextUnavailableException will be
thrown.