Package org.jboss.as.txn.ee.concurrency
Class TransactionLeakContextHandleFactory
- java.lang.Object
-
- org.jboss.as.txn.ee.concurrency.TransactionLeakContextHandleFactory
-
- All Implemented Interfaces:
ContextHandleFactory
public class TransactionLeakContextHandleFactory extends Object implements ContextHandleFactory
A context handle factory which is responsible for preventing transaction leaks.- Author:
- Eduardo Martins, Richard Opalka
-
-
Constructor Summary
Constructors Constructor Description TransactionLeakContextHandleFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetChainPriority()StringgetName()org.jboss.as.server.deployment.DelegatingSupplier<javax.transaction.TransactionManager>getTransactionManagerSupplier()SetupContextHandlereadSetupContextHandle(ObjectInputStream in)SetupContextHandlesaveContext(javax.enterprise.concurrent.ContextService contextService, Map<String,String> contextObjectProperties)voidwriteSetupContextHandle(SetupContextHandle contextHandle, ObjectOutputStream out)
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
saveContext
public SetupContextHandle saveContext(javax.enterprise.concurrent.ContextService contextService, Map<String,String> contextObjectProperties)
- Specified by:
saveContextin interfaceContextHandleFactory
-
getName
public String getName()
- Specified by:
getNamein interfaceContextHandleFactory
-
getChainPriority
public int getChainPriority()
- Specified by:
getChainPriorityin interfaceContextHandleFactory
-
writeSetupContextHandle
public void writeSetupContextHandle(SetupContextHandle contextHandle, ObjectOutputStream out) throws IOException
- Specified by:
writeSetupContextHandlein interfaceContextHandleFactory- Throws:
IOException
-
readSetupContextHandle
public SetupContextHandle readSetupContextHandle(ObjectInputStream in) throws IOException, ClassNotFoundException
- Specified by:
readSetupContextHandlein interfaceContextHandleFactory- Throws:
IOExceptionClassNotFoundException
-
getTransactionManagerSupplier
public org.jboss.as.server.deployment.DelegatingSupplier<javax.transaction.TransactionManager> getTransactionManagerSupplier()
-
-