org.jboss.weld.context
Class DependentContext
java.lang.Object
org.jboss.weld.context.AbstractContext
org.jboss.weld.context.DependentContext
- All Implemented Interfaces:
- javax.enterprise.context.spi.Context
public class DependentContext
- extends AbstractContext
The dependent context
- Author:
- Nicklas Karlsson
|
Method Summary |
|
get(javax.enterprise.context.spi.Contextual<T> contextual)
|
|
get(javax.enterprise.context.spi.Contextual<T> contextual,
javax.enterprise.context.spi.CreationalContext<T> creationalContext)
Overridden method always creating a new instance |
boolean |
isActive()
Return true if the context is active |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DependentContext
public DependentContext()
- Constructor
get
public <T> T get(javax.enterprise.context.spi.Contextual<T> contextual,
javax.enterprise.context.spi.CreationalContext<T> creationalContext)
- Overridden method always creating a new instance
- Parameters:
contextual - The bean to createcreate - Should a new one be created
get
public <T> T get(javax.enterprise.context.spi.Contextual<T> contextual)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
isActive
public boolean isActive()
- Description copied from class:
AbstractContext
- Return true if the context is active
- Specified by:
isActive in interface javax.enterprise.context.spi.Context- Overrides:
isActive in class AbstractContext
- Returns:
- The active state
- See Also:
Context.isActive()
Copyright © 2008-2009 Seam Framework. All Rights Reserved.