org.jboss.weld.context
Class AbstractUnboundContext

java.lang.Object
  extended by org.jboss.weld.context.AbstractContext
      extended by org.jboss.weld.context.AbstractManagedContext
          extended by org.jboss.weld.context.AbstractUnboundContext
All Implemented Interfaces:
javax.enterprise.context.spi.Context, org.jboss.weld.context.ManagedContext
Direct Known Subclasses:
RequestContextImpl, ThreadContext

public abstract class AbstractUnboundContext
extends AbstractManagedContext

Base class for contexts using a thread local to store a bound bean context

Author:
Pete Muir

Constructor Summary
AbstractUnboundContext(boolean multithreaded)
           
 
Method Summary
 void cleanup()
           
protected  void destroy()
          Destroys the context
protected  BeanStore getBeanStore()
          Gets the bean store
protected  void setBeanStore(BeanStore beanStore)
          Sets the bean store
 
Methods inherited from class org.jboss.weld.context.AbstractManagedContext
activate, deactivate, invalidate, isActive, setActive
 
Methods inherited from class org.jboss.weld.context.AbstractContext
get, get, getContextual, getId, getServiceRegistry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.enterprise.context.spi.Context
get, get, getScope
 

Constructor Detail

AbstractUnboundContext

public AbstractUnboundContext(boolean multithreaded)
Method Detail

getBeanStore

protected BeanStore getBeanStore()
Gets the bean store

Specified by:
getBeanStore in class AbstractContext
Returns:
The bean store

setBeanStore

protected void setBeanStore(BeanStore beanStore)
Sets the bean store

Parameters:
beanStore - The bean store

destroy

protected void destroy()
Description copied from class: AbstractContext
Destroys the context

Overrides:
destroy in class AbstractContext

cleanup

public void cleanup()
Overrides:
cleanup in class AbstractManagedContext


Copyright © 2013 Seam Framework. All Rights Reserved.