Class GlobalPentahoRequestContextHolderStrategy

  • All Implemented Interfaces:
    org.pentaho.platform.api.engine.IPentahoRequestContextHolderStrategy

    public class GlobalPentahoRequestContextHolderStrategy
    extends Object
    implements org.pentaho.platform.api.engine.IPentahoRequestContextHolderStrategy
    A static field-based implementation of IPentahoRequestContextHolderStrategy.

    This means that all instances in the JVM share the same IPentahoRequestContext. This is generally useful with rich clients, such as Swing.

    Author:
    rmansoor
    • Constructor Detail

      • GlobalPentahoRequestContextHolderStrategy

        public GlobalPentahoRequestContextHolderStrategy()
    • Method Detail

      • getRequestContext

        public org.pentaho.platform.api.engine.IPentahoRequestContext getRequestContext()
        Specified by:
        getRequestContext in interface org.pentaho.platform.api.engine.IPentahoRequestContextHolderStrategy
      • removeRequestContext

        public void removeRequestContext()
        Specified by:
        removeRequestContext in interface org.pentaho.platform.api.engine.IPentahoRequestContextHolderStrategy
      • setRequestContext

        public void setRequestContext​(org.pentaho.platform.api.engine.IPentahoRequestContext inRequestContext)
        Specified by:
        setRequestContext in interface org.pentaho.platform.api.engine.IPentahoRequestContextHolderStrategy