Package org.jboss.weld.contexts
Class AbstractSharedContext
- java.lang.Object
-
- org.jboss.weld.contexts.AbstractContext
-
- org.jboss.weld.contexts.AbstractSharedContext
-
- All Implemented Interfaces:
AlterableContext,Context
- Direct Known Subclasses:
ApplicationContextImpl,SingletonContextImpl
public abstract class AbstractSharedContext extends AbstractContext
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractSharedContext(String contextId)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleanup()protected voiddestroy()Destroys the contextBeanStoregetBeanStore()Gets the bean storevoidinvalidate()booleanisActive()Determines if the context object is active.StringtoString()-
Methods inherited from class org.jboss.weld.contexts.AbstractContext
checkContextInitialized, destroy, get, get, getContextual, getId, getServiceRegistry, isMultithreaded
-
-
-
-
Constructor Detail
-
AbstractSharedContext
protected AbstractSharedContext(String contextId)
Constructor
-
-
Method Detail
-
getBeanStore
public BeanStore getBeanStore()
Gets the bean store- Specified by:
getBeanStorein classAbstractContext- Returns:
- The bean store
-
isActive
public boolean isActive()
Description copied from interface:ContextDetermines if the context object is active.- Returns:
- true if the context is active, or false otherwise.
-
invalidate
public void invalidate()
-
destroy
protected void destroy()
Description copied from class:AbstractContextDestroys the context- Overrides:
destroyin classAbstractContext
-
cleanup
public void cleanup()
- Overrides:
cleanupin classAbstractContext
-
-