Class GatewayHook.PerspectiveGatewayContext
- java.lang.Object
-
- com.inductiveautomation.perspective.gateway.GatewayHook.PerspectiveGatewayContext
-
- All Implemented Interfaces:
PerspectiveContext
- Enclosing class:
- GatewayHook
public class GatewayHook.PerspectiveGatewayContext extends java.lang.Object implements PerspectiveContext
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionRegistryImpl
getActionRegistry()
BindingRegistryImpl
getBindingRegistry()
ClientHtmlLoader
getClientHtmlLoader()
ComponentModelDelegateRegistry
getComponentModelDelegateRegistry()
ComponentRegistry
getComponentRegistry()
com.google.common.eventbus.EventBus
getEventBus()
AnEventBus
for the entire Perspective system - events that are gateway-wide.java.util.concurrent.ExecutorService
getExecutorService()
FetchableCache
getFetchableCache()
FontManagerImpl
getFontManager()
GatewayContext
getGatewayContext()
IconManagerImpl
getIconManager()
PerspectiveProjectCache
getProjectCache()
java.util.concurrent.ScheduledExecutorService
getScheduler()
CompiledScriptCacheImpl
getScriptCache()
PerspectiveSessionMonitor
getSessionMonitor()
com.inductiveautomation.ignition.common.gson.Gson
getSharedGson()
ThemeManagerImpl
getThemeManager()
-
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 Detail
-
getGatewayContext
public GatewayContext getGatewayContext()
- Specified by:
getGatewayContext
in interfacePerspectiveContext
-
getExecutorService
public java.util.concurrent.ExecutorService 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.
-
getScheduler
public java.util.concurrent.ScheduledExecutorService getScheduler()
- Specified by:
getScheduler
in interfacePerspectiveContext
- Returns:
- The shared scheduled executor. NO BLOCKING WORK may be done on this pool.
-
getBindingRegistry
public BindingRegistryImpl getBindingRegistry()
- Specified by:
getBindingRegistry
in interfacePerspectiveContext
- Returns:
- The registry where binding and transform implementations are kept
-
getActionRegistry
public ActionRegistryImpl getActionRegistry()
- Specified by:
getActionRegistry
in interfacePerspectiveContext
- Returns:
- The registry where action implementations are kept.
-
getProjectCache
public PerspectiveProjectCache 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
public ThemeManagerImpl getThemeManager()
- Specified by:
getThemeManager
in interfacePerspectiveContext
- Returns:
- The Theme Manager
-
getIconManager
public IconManagerImpl getIconManager()
- Specified by:
getIconManager
in interfacePerspectiveContext
- Returns:
- The Icon Manager
-
getFontManager
public FontManagerImpl getFontManager()
- Specified by:
getFontManager
in interfacePerspectiveContext
- Returns:
- The Font Manager
-
getSharedGson
public com.inductiveautomation.ignition.common.gson.Gson getSharedGson()
- Specified by:
getSharedGson
in interfacePerspectiveContext
-
getFetchableCache
public FetchableCache getFetchableCache()
- Specified by:
getFetchableCache
in interfacePerspectiveContext
-
getSessionMonitor
public PerspectiveSessionMonitor getSessionMonitor()
- Specified by:
getSessionMonitor
in interfacePerspectiveContext
-
getScriptCache
public CompiledScriptCacheImpl getScriptCache()
- Specified by:
getScriptCache
in interfacePerspectiveContext
-
getClientHtmlLoader
public ClientHtmlLoader getClientHtmlLoader()
-
getComponentRegistry
public ComponentRegistry getComponentRegistry()
- Specified by:
getComponentRegistry
in interfacePerspectiveContext
-
getComponentModelDelegateRegistry
public ComponentModelDelegateRegistry getComponentModelDelegateRegistry()
- Specified by:
getComponentModelDelegateRegistry
in interfacePerspectiveContext
- Returns:
- the model delegate registry (use to register gateway component models into the store/model messaging API)
-
-