public class TransactionLeakContextHandleFactory extends Object implements ContextHandleFactory, org.jboss.msc.inject.Injector<TransactionManager>
Constructor and Description |
---|
TransactionLeakContextHandleFactory() |
Modifier and Type | Method and Description |
---|---|
int |
getChainPriority()
The factory priority is used to define the order of handles when chained.
|
String |
getName()
Retrieves the factory's name.
|
void |
inject(TransactionManager value) |
SetupContextHandle |
readSetupContextHandle(ObjectInputStream in)
Reads a handle from the specified input stream.
|
SetupContextHandle |
saveContext(javax.enterprise.concurrent.ContextService contextService,
Map<String,String> contextObjectProperties) |
void |
uninject() |
void |
writeSetupContextHandle(SetupContextHandle contextHandle,
ObjectOutputStream out)
Writes the handle to the specified output stream.
|
public static final String NAME
public SetupContextHandle saveContext(javax.enterprise.concurrent.ContextService contextService, Map<String,String> contextObjectProperties)
saveContext
in interface ContextHandleFactory
ContextSetupProvider.saveContext(javax.enterprise.concurrent.ContextService, java.util.Map)
public String getName()
ContextHandleFactory
getName
in interface ContextHandleFactory
public int getChainPriority()
ContextHandleFactory
getChainPriority
in interface ContextHandleFactory
public void writeSetupContextHandle(SetupContextHandle contextHandle, ObjectOutputStream out) throws IOException
ContextHandleFactory
writeSetupContextHandle
in interface ContextHandleFactory
IOException
public SetupContextHandle readSetupContextHandle(ObjectInputStream in) throws IOException, ClassNotFoundException
ContextHandleFactory
readSetupContextHandle
in interface ContextHandleFactory
IOException
ClassNotFoundException
public void inject(TransactionManager value) throws org.jboss.msc.inject.InjectionException
inject
in interface org.jboss.msc.inject.Injector<TransactionManager>
org.jboss.msc.inject.InjectionException
public void uninject()
uninject
in interface org.jboss.msc.inject.Injector<TransactionManager>
Copyright © 2017 JBoss by Red Hat. All rights reserved.