Class GlobalPentahoRequestContextHolderStrategy
- java.lang.Object
-
- org.pentaho.platform.engine.core.system.GlobalPentahoRequestContextHolderStrategy
-
- All Implemented Interfaces:
org.pentaho.platform.api.engine.IPentahoRequestContextHolderStrategy
public class GlobalPentahoRequestContextHolderStrategy extends Object implements org.pentaho.platform.api.engine.IPentahoRequestContextHolderStrategy
Astatic
field-based implementation ofIPentahoRequestContextHolderStrategy
.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 Summary
Constructors Constructor Description GlobalPentahoRequestContextHolderStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.pentaho.platform.api.engine.IPentahoRequestContext
getRequestContext()
void
removeRequestContext()
void
setRequestContext(org.pentaho.platform.api.engine.IPentahoRequestContext inRequestContext)
-
-
-
Method Detail
-
getRequestContext
public org.pentaho.platform.api.engine.IPentahoRequestContext getRequestContext()
- Specified by:
getRequestContext
in interfaceorg.pentaho.platform.api.engine.IPentahoRequestContextHolderStrategy
-
removeRequestContext
public void removeRequestContext()
- Specified by:
removeRequestContext
in interfaceorg.pentaho.platform.api.engine.IPentahoRequestContextHolderStrategy
-
setRequestContext
public void setRequestContext(org.pentaho.platform.api.engine.IPentahoRequestContext inRequestContext)
- Specified by:
setRequestContext
in interfaceorg.pentaho.platform.api.engine.IPentahoRequestContextHolderStrategy
-
-