org.apache.myfaces.extensions.cdi.jpa.impl.transaction.context
Class TransactionContext

java.lang.Object
  extended by org.apache.myfaces.extensions.cdi.jpa.impl.transaction.context.TransactionContext
All Implemented Interfaces:
javax.enterprise.context.spi.Context

public class TransactionContext
extends Object
implements javax.enterprise.context.spi.Context

CDI Context for managing @TransactionScoped contextual instances.


Constructor Summary
TransactionContext(TransactionBeanStorage beanStorage)
           
 
Method Summary
<T> T
get(javax.enterprise.context.spi.Contextual<T> component)
           
<T> T
get(javax.enterprise.context.spi.Contextual<T> component, javax.enterprise.context.spi.CreationalContext<T> creationalContext)
           
 Class<? extends Annotation> getScope()
           
 boolean isActive()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionContext

public TransactionContext(TransactionBeanStorage beanStorage)
Method Detail

get

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

get

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

getScope

public Class<? extends Annotation> getScope()
Specified by:
getScope in interface javax.enterprise.context.spi.Context

isActive

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


Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.