public class GlobalPentahoRequestContextHolderStrategy extends Object implements org.pentaho.platform.api.engine.IPentahoRequestContextHolderStrategy
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.
Constructor and Description |
---|
GlobalPentahoRequestContextHolderStrategy() |
Modifier and Type | Method and Description |
---|---|
org.pentaho.platform.api.engine.IPentahoRequestContext |
getRequestContext() |
void |
removeRequestContext() |
void |
setRequestContext(org.pentaho.platform.api.engine.IPentahoRequestContext inRequestContext) |
public GlobalPentahoRequestContextHolderStrategy()
public org.pentaho.platform.api.engine.IPentahoRequestContext getRequestContext()
getRequestContext
in interface org.pentaho.platform.api.engine.IPentahoRequestContextHolderStrategy
public void removeRequestContext()
removeRequestContext
in interface org.pentaho.platform.api.engine.IPentahoRequestContextHolderStrategy
public void setRequestContext(org.pentaho.platform.api.engine.IPentahoRequestContext inRequestContext)
setRequestContext
in interface org.pentaho.platform.api.engine.IPentahoRequestContextHolderStrategy
Copyright © 2019 Hitachi Vantara. All rights reserved.