org.jboss.weld.context
Class DependentContext

java.lang.Object
  extended by org.jboss.weld.context.AbstractContext
      extended by org.jboss.weld.context.DependentContext
All Implemented Interfaces:
javax.enterprise.context.spi.Context

public class DependentContext
extends AbstractContext

The dependent context

Author:
Nicklas Karlsson

Constructor Summary
DependentContext()
          Constructor
 
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)
          Overridden method always creating a new instance
 boolean isActive()
          Return true if the context is active
 java.lang.String toString()
           
 
Methods inherited from class org.jboss.weld.context.AbstractContext
cleanup, getScope, setActive
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DependentContext

public DependentContext()
Constructor

Method Detail

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 create
create - 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.