Class GatewayHook.PerspectiveGatewayContext
java.lang.Object
com.inductiveautomation.perspective.gateway.GatewayHook.PerspectiveGatewayContext
- All Implemented Interfaces:
PerspectiveContext
- Enclosing class:
- GatewayHook
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.eventbus.EventBus
AnEventBus
for the entire Perspective system - events that are gateway-wide.com.codahale.metrics.Timer
com.codahale.metrics.Meter
com.codahale.metrics.Timer
com.inductiveautomation.ignition.common.gson.Gson
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.inductiveautomation.perspective.gateway.api.PerspectiveContext
getSessionTimeout
-
Method Details
-
getGatewayContext
- Specified by:
getGatewayContext
in interfacePerspectiveContext
-
getExecutorService
- Specified by:
getExecutorService
in interfacePerspectiveContext
- Returns:
- The shared executor service used by all perspective sessions. Blocking work may be done on this thread pool.
-
getQueueExecutorService
-
getScheduler
- Specified by:
getScheduler
in interfacePerspectiveContext
- Returns:
- The shared scheduled executor. NO BLOCKING WORK may be done on this pool.
-
getBindingRegistry
- Specified by:
getBindingRegistry
in interfacePerspectiveContext
- Returns:
- The registry where binding and transform implementations are kept
-
getActionRegistry
- Specified by:
getActionRegistry
in interfacePerspectiveContext
- Returns:
- The registry where action implementations are kept.
-
getProjectCache
- Specified by:
getProjectCache
in interfacePerspectiveContext
- Returns:
- The cache that provides access to perspective projects.
-
getEventBus
public com.google.common.eventbus.EventBus getEventBus()Description copied from interface:PerspectiveContext
AnEventBus
for the entire Perspective system - events that are gateway-wide.- Specified by:
getEventBus
in interfacePerspectiveContext
-
getThemeManager
- Specified by:
getThemeManager
in interfacePerspectiveContext
- Returns:
- The Theme Manager
-
getIconManager
- Specified by:
getIconManager
in interfacePerspectiveContext
- Returns:
- The Icon Manager
-
getFontManager
- Specified by:
getFontManager
in interfacePerspectiveContext
- Returns:
- The Font Manager
-
getFetchableCache
- Specified by:
getFetchableCache
in interfacePerspectiveContext
-
getSessionMonitor
- Specified by:
getSessionMonitor
in interfacePerspectiveContext
-
getScriptCache
- Specified by:
getScriptCache
in interfacePerspectiveContext
-
getClientHtmlLoader
-
getComponentRegistry
- Specified by:
getComponentRegistry
in interfacePerspectiveContext
-
getComponentModelDelegateRegistry
- Specified by:
getComponentModelDelegateRegistry
in interfacePerspectiveContext
- Returns:
- the model delegate registry (use to register gateway component models into the store/model messaging API)
-
getScriptTimer
public com.codahale.metrics.Timer getScriptTimer()- Specified by:
getScriptTimer
in interfacePerspectiveContext
-
getExpressionTimer
public com.codahale.metrics.Timer getExpressionTimer()- Specified by:
getExpressionTimer
in interfacePerspectiveContext
-
getPropertyChangeMeter
public com.codahale.metrics.Meter getPropertyChangeMeter()- Specified by:
getPropertyChangeMeter
in interfacePerspectiveContext
-
getValueCache
- Specified by:
getValueCache
in interfacePerspectiveContext
-