Package org.pentaho.platform.api.engine
Interface IPentahoRequestContextHolderStrategy
-
public interface IPentahoRequestContextHolderStrategy
A strategy for storing an IPentahoRequestContext against a thread.Inspired by
org.springframework.security.context.SecurityContextHolderStrategy
.- Author:
- rmansoor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IPentahoRequestContext
getRequestContext()
Returns the current request context.void
removeRequestContext()
Clears the current request context.void
setRequestContext(IPentahoRequestContext requestContext)
Sets the current request context.
-
-
-
Method Detail
-
setRequestContext
void setRequestContext(IPentahoRequestContext requestContext)
Sets the current request context.- Parameters:
requestContext
- request context to set
-
getRequestContext
IPentahoRequestContext getRequestContext()
Returns the current request context.- Returns:
- requestContext
-
removeRequestContext
void removeRequestContext()
Clears the current request context.
-
-