org.apache.myfaces.extensions.cdi.jpa.impl.transaction.context
Class TransactionContext
java.lang.Object
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.
Method Summary |
|
get(javax.enterprise.context.spi.Contextual<T> component)
|
|
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 |
TransactionContext
public TransactionContext(TransactionBeanStorage beanStorage)
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.