Interface IPentahoSessionHolderStrategy
-
- All Known Implementing Classes:
GlobalPentahoSessionHolderStrategy
,InheritableThreadLocalPentahoSessionHolderStrategy
public interface IPentahoSessionHolderStrategy
A strategy for storing an IPentahoSession against a thread.Inspired by
org.springframework.security.context.SecurityContextHolderStrategy
.- Author:
- mlowery
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.pentaho.platform.api.engine.IPentahoSession
getSession()
Returns the current session.void
removeSession()
Clears the current session.void
setSession(org.pentaho.platform.api.engine.IPentahoSession session)
Sets the current session.
-
-
-
Method Detail
-
setSession
void setSession(org.pentaho.platform.api.engine.IPentahoSession session)
Sets the current session.- Parameters:
session
- session to set
-
getSession
org.pentaho.platform.api.engine.IPentahoSession getSession()
Returns the current session.- Returns:
- session
-
removeSession
void removeSession()
Clears the current session.
-
-