it.eng.spagobi.container
Class CoreContextManager
java.lang.Object
it.eng.spagobi.container.AbstractContainer
it.eng.spagobi.container.ContextManager
it.eng.spagobi.container.CoreContextManager
- All Implemented Interfaces:
- it.eng.spagobi.container.IBeanContainer, it.eng.spagobi.container.IContainer
public class CoreContextManager
- extends it.eng.spagobi.container.ContextManager
This class provides useful methods to manage context on a ISessionContainer
- Author:
- Zerbetto (davide.zerbetto@eng.it)
Fields inherited from class it.eng.spagobi.container.ContextManager |
contextRetrieverStrategy, contextsContainer |
Constructor Summary |
CoreContextManager(it.eng.spagobi.container.IBeanContainer beanContainer,
it.eng.spagobi.container.strategy.IContextRetrieverStrategy strategy)
|
Methods inherited from class it.eng.spagobi.container.ContextManager |
cleanOldContexts, destroyCurrentContext, get, getKeys, print, remove, set |
Methods inherited from class it.eng.spagobi.container.AbstractContainer |
getBoolean, getInteger, getList, getString, isBlankOrNull, isNull, toCsvList, toJSONArray, toJSONObject, toList |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface it.eng.spagobi.container.IContainer |
getBoolean, getInteger, getList, getString, isBlankOrNull, isNull, toCsvList, toJSONObject |
CoreContextManager
public CoreContextManager(it.eng.spagobi.container.IBeanContainer beanContainer,
it.eng.spagobi.container.strategy.IContextRetrieverStrategy strategy)
getBIObject
public BIObject getBIObject(java.lang.String key)
- TO BE USED ONLY INSIDE SPAGOBI CORE, NOT INSIDE EXTERNAL ENGINES.
Return the BIObject associated with the input key.
If the key is associated to an object that is not a BIObject instance, a ClassCastException is thrown.
- Parameters:
key
- The input key
- Returns:
- the BIObject associated with the input key.
getExecutionInstance
public ExecutionInstance getExecutionInstance(java.lang.String key)
- TO BE USED ONLY INSIDE SPAGOBI CORE, NOT INSIDE EXTERNAL ENGINES.
Return the ExecutionInstance associated with the input key.
If the key is associated to an object that is not a ExecutionInstance instance, a ClassCastException is thrown.
- Parameters:
key
- The input key
- Returns:
- the ExecutionInstance associated with the input key.