public class QueueManagerXaResourceProducer
extends bitronix.tm.resource.common.ResourceBean
implements bitronix.tm.resource.common.XAResourceProducer
| Constructor and Description |
|---|
QueueManagerXaResourceProducer(org.mule.runtime.core.api.util.queue.QueueManager queueManager,
String uniqueName) |
| Modifier and Type | Method and Description |
|---|---|
void |
addXaResource(XAResource session) |
void |
close() |
bitronix.tm.resource.common.XAStatefulHolder |
createPooledConnection(Object xaFactory,
bitronix.tm.resource.common.ResourceBean bean) |
void |
endRecovery() |
bitronix.tm.resource.common.XAResourceHolder |
findXAResourceHolder(XAResource xaResource) |
Reference |
getReference() |
String |
getUniqueName() |
void |
init() |
boolean |
isFailed() |
void |
removeXaResource(XAResource xaResource) |
void |
setFailed(boolean failed) |
bitronix.tm.internal.XAResourceHolderState |
startRecovery() |
getAcquireIncrement, getAcquisitionInterval, getAcquisitionTimeout, getAllowLocalTransactions, getApplyTransactionTimeout, getAutomaticEnlistingEnabled, getClassName, getDeferConnectionRelease, getDriverProperties, getIgnoreRecoveryFailures, getMaxIdleTime, getMaxPoolSize, getMinPoolSize, getShareTransactionConnections, getTwoPcOrderingPosition, getUseTmJoin, incCreatedResourcesCounter, isDisabled, setAcquireIncrement, setAcquisitionInterval, setAcquisitionTimeout, setAllowLocalTransactions, setApplyTransactionTimeout, setAutomaticEnlistingEnabled, setClassName, setDeferConnectionRelease, setDisabled, setDriverProperties, setIgnoreRecoveryFailures, setMaxIdleTime, setMaxPoolSize, setMinPoolSize, setShareTransactionConnections, setTwoPcOrderingPosition, setUniqueName, setUseTmJoinpublic QueueManagerXaResourceProducer(org.mule.runtime.core.api.util.queue.QueueManager queueManager,
String uniqueName)
public String getUniqueName()
getUniqueName in interface bitronix.tm.resource.common.XAResourceProducergetUniqueName in class bitronix.tm.resource.common.ResourceBeanpublic bitronix.tm.internal.XAResourceHolderState startRecovery()
throws bitronix.tm.recovery.RecoveryException
startRecovery in interface bitronix.tm.resource.common.XAResourceProducerbitronix.tm.recovery.RecoveryExceptionpublic void endRecovery()
throws bitronix.tm.recovery.RecoveryException
endRecovery in interface bitronix.tm.resource.common.XAResourceProducerbitronix.tm.recovery.RecoveryExceptionpublic void setFailed(boolean failed)
setFailed in interface bitronix.tm.resource.common.XAResourceProducerpublic boolean isFailed()
public bitronix.tm.resource.common.XAResourceHolder findXAResourceHolder(XAResource xaResource)
findXAResourceHolder in interface bitronix.tm.resource.common.XAResourceProducerpublic void init()
init in interface bitronix.tm.resource.common.XAResourceProducerpublic void close()
close in interface bitronix.tm.resource.common.XAResourceProducerpublic bitronix.tm.resource.common.XAStatefulHolder createPooledConnection(Object xaFactory, bitronix.tm.resource.common.ResourceBean bean) throws Exception
createPooledConnection in interface bitronix.tm.resource.common.XAResourceProducerExceptionpublic Reference getReference() throws NamingException
getReference in interface ReferenceableNamingExceptionpublic void addXaResource(XAResource session)
public void removeXaResource(XAResource xaResource)
Copyright © 2006–2022 MuleSoft, Inc.. All rights reserved.