org.jboss.cdi.tck.tests.lookup.dynamic.destroy.normal
Class AbstractContext

java.lang.Object
  extended by org.jboss.cdi.tck.tests.lookup.dynamic.destroy.normal.AbstractContext
All Implemented Interfaces:
javax.enterprise.context.spi.Context
Direct Known Subclasses:
CustomAlterableContext, CustomNonAlterableContext

public abstract class AbstractContext
extends Object
implements javax.enterprise.context.spi.Context


Nested Class Summary
protected static class AbstractContext.Instance
           
 
Field Summary
protected  Map<javax.enterprise.context.spi.Contextual<?>,AbstractContext.Instance> storage
           
 
Constructor Summary
AbstractContext()
           
 
Method Summary
<T> T
get(javax.enterprise.context.spi.Contextual<T> contextual)
           
<T> T
get(javax.enterprise.context.spi.Contextual<T> contextual, javax.enterprise.context.spi.CreationalContext<T> creationalContext)
           
 boolean isActive()
           
 
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
getScope
 

Field Detail

storage

protected final Map<javax.enterprise.context.spi.Contextual<?>,AbstractContext.Instance> storage
Constructor Detail

AbstractContext

public AbstractContext()
Method Detail

get

public <T> T get(javax.enterprise.context.spi.Contextual<T> contextual,
                 javax.enterprise.context.spi.CreationalContext<T> creationalContext)
Specified by:
get in interface javax.enterprise.context.spi.Context

get

public <T> T get(javax.enterprise.context.spi.Contextual<T> contextual)
Specified by:
get in interface javax.enterprise.context.spi.Context

isActive

public boolean isActive()
Specified by:
isActive in interface javax.enterprise.context.spi.Context


Copyright © 2008-2013 Seam Framework. All Rights Reserved.