org.jboss.seam.transaction.scope
Class TransactionScopeContext
java.lang.Object
org.jboss.seam.transaction.scope.TransactionScopeContext
- All Implemented Interfaces:
- Context, Synchronization
public class TransactionScopeContext
- extends Object
- implements Context, Synchronization
Context for the TransactionScoped scope
- Author:
- stuart
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransactionScopeContext
public TransactionScopeContext(BeanManager beanManager)
get
public <T> T get(Contextual<T> contextual)
- Specified by:
get in interface Context
get
public <T> T get(Contextual<T> contextual,
CreationalContext<T> creationalContext)
- Specified by:
get in interface Context
getScope
public Class<? extends Annotation> getScope()
- Specified by:
getScope in interface Context
isActive
public boolean isActive()
- Specified by:
isActive in interface Context
afterCompletion
public void afterCompletion(int status)
- the transaction is done, destory the beans
- Specified by:
afterCompletion in interface Synchronization
beforeCompletion
public void beforeCompletion()
- Specified by:
beforeCompletion in interface Synchronization
Copyright © 2011 Seam Framework. All Rights Reserved.