Interface PerspectiveContext

All Known Implementing Classes:
GatewayHook.PerspectiveGatewayContext

public interface PerspectiveContext
Provides a way to find resources shared by all Perspective sessions.
  • Method Details

    • getGatewayContext

      GatewayContext getGatewayContext()
    • getExecutorService

      ExecutorService getExecutorService()
      Returns:
      The shared executor service used by all perspective sessions. Blocking work may be done on this thread pool.
    • getScheduler

      ScheduledExecutorService getScheduler()
      Returns:
      The shared scheduled executor. NO BLOCKING WORK may be done on this pool.
    • getBindingRegistry

      BindingRegistry getBindingRegistry()
      Returns:
      The registry where binding and transform implementations are kept
    • getActionRegistry

      ActionRegistry getActionRegistry()
      Returns:
      The registry where action implementations are kept.
    • getProjectCache

      PerspectiveProjectCache getProjectCache()
      Returns:
      The cache that provides access to perspective projects.
    • getEventBus

      com.google.common.eventbus.EventBus getEventBus()
      An EventBus for the entire Perspective system - events that are gateway-wide.
    • getThemeManager

      ThemeManager getThemeManager()
      Returns:
      The Theme Manager
    • getIconManager

      IconManager getIconManager()
      Returns:
      The Icon Manager
    • getFontManager

      FontManager getFontManager()
      Returns:
      The Font Manager
    • getSharedGson

      com.inductiveautomation.ignition.common.gson.Gson getSharedGson()
    • getSessionTimeout

      default long getSessionTimeout()
      Timeout, in milliseconds, after the last page of a session is closed, should the session expire
    • getSessionMonitor

      PerspectiveSessionMonitor getSessionMonitor()
    • getScriptCache

      CompiledScriptCache getScriptCache()
    • getComponentRegistry

      ComponentRegistry getComponentRegistry()
    • getFetchableCache

      FetchableCache getFetchableCache()
    • getValueCache

      ValueCache getValueCache()
    • getComponentModelDelegateRegistry

      ComponentModelDelegateRegistry getComponentModelDelegateRegistry()
      Returns:
      the model delegate registry (use to register gateway component models into the store/model messaging API)
    • getScriptTimer

      com.codahale.metrics.Timer getScriptTimer()
    • getExpressionTimer

      com.codahale.metrics.Timer getExpressionTimer()
    • getPropertyChangeMeter

      com.codahale.metrics.Meter getPropertyChangeMeter()
    • get

      static PerspectiveContext get(GatewayContext context)