Package org.jboss.as.txn.service
Class LocalTransactionContextService
- java.lang.Object
-
- org.jboss.as.txn.service.LocalTransactionContextService
-
- All Implemented Interfaces:
org.jboss.msc.Service,org.jboss.msc.service.Service<org.wildfly.transaction.client.LocalTransactionContext>,org.jboss.msc.value.Value<org.wildfly.transaction.client.LocalTransactionContext>
public final class LocalTransactionContextService extends Object implements org.jboss.msc.service.Service<org.wildfly.transaction.client.LocalTransactionContext>
The service which provides theLocalTransactionContextfor the server.- Author:
- David M. Lloyd
-
-
Constructor Summary
Constructors Constructor Description LocalTransactionContextService(int staleTransactionTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.msc.value.InjectedValue<org.jboss.tm.ExtendedJBossXATerminator>getExtendedJBossXATerminatorInjector()org.jboss.msc.value.InjectedValue<org.jboss.as.server.ServerEnvironment>getServerEnvironmentInjector()org.jboss.msc.value.InjectedValue<com.arjuna.ats.jbossatx.jta.TransactionManagerService>getTransactionManagerInjector()org.wildfly.transaction.client.LocalTransactionContextgetValue()org.jboss.msc.value.InjectedValue<org.jboss.tm.XAResourceRecoveryRegistry>getXAResourceRecoveryRegistryInjector()voidstart(org.jboss.msc.service.StartContext context)voidstop(org.jboss.msc.service.StopContext context)
-
-
-
Method Detail
-
start
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException- Specified by:
startin interfaceorg.jboss.msc.Service- Throws:
org.jboss.msc.service.StartException
-
stop
public void stop(org.jboss.msc.service.StopContext context)
- Specified by:
stopin interfaceorg.jboss.msc.Service
-
getExtendedJBossXATerminatorInjector
public org.jboss.msc.value.InjectedValue<org.jboss.tm.ExtendedJBossXATerminator> getExtendedJBossXATerminatorInjector()
-
getTransactionManagerInjector
public org.jboss.msc.value.InjectedValue<com.arjuna.ats.jbossatx.jta.TransactionManagerService> getTransactionManagerInjector()
-
getXAResourceRecoveryRegistryInjector
public org.jboss.msc.value.InjectedValue<org.jboss.tm.XAResourceRecoveryRegistry> getXAResourceRecoveryRegistryInjector()
-
getServerEnvironmentInjector
public org.jboss.msc.value.InjectedValue<org.jboss.as.server.ServerEnvironment> getServerEnvironmentInjector()
-
getValue
public org.wildfly.transaction.client.LocalTransactionContext getValue() throws IllegalStateException, IllegalArgumentException- Specified by:
getValuein interfaceorg.jboss.msc.value.Value<org.wildfly.transaction.client.LocalTransactionContext>- Throws:
IllegalStateExceptionIllegalArgumentException
-
-