Package org.jboss.weld.contexts
Class AbstractUnboundContext
java.lang.Object
org.jboss.weld.contexts.AbstractContext
org.jboss.weld.contexts.AbstractManagedContext
org.jboss.weld.contexts.AbstractUnboundContext
- All Implemented Interfaces:
jakarta.enterprise.context.spi.AlterableContext,jakarta.enterprise.context.spi.Context,org.jboss.weld.context.ManagedContext,org.jboss.weld.context.WeldAlterableContext
- Direct Known Subclasses:
RequestContextImpl
Base class for contexts using a thread local to store a bound bean context
- Author:
- Pete Muir
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanup()protected voiddestroy()Destroys the contextprotected BeanStoreGets the bean storeprotected voidsetBeanStore(BeanStore beanStore) Sets the bean storeMethods inherited from class org.jboss.weld.contexts.AbstractManagedContext
activate, deactivate, invalidate, isActive, isValid, removeState, setActiveMethods inherited from class org.jboss.weld.contexts.AbstractContext
checkContextInitialized, destroy, get, get, getContextual, getId, getServiceRegistry, isMultithreadedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.enterprise.context.spi.AlterableContext
destroyMethods inherited from interface jakarta.enterprise.context.spi.Context
get, get, getScopeMethods inherited from interface org.jboss.weld.context.WeldAlterableContext
clearAndSet, getAllContextualInstances
-
Constructor Details
-
AbstractUnboundContext
-
-
Method Details
-
getBeanStore
Gets the bean store- Specified by:
getBeanStorein classAbstractContext- Returns:
- The bean store
-
setBeanStore
Sets the bean store- Parameters:
beanStore- The bean store
-
destroy
protected void destroy()Description copied from class:AbstractContextDestroys the context- Overrides:
destroyin classAbstractContext
-
cleanup
public void cleanup()- Overrides:
cleanupin classAbstractContext
-