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 the
LocalTransactionContext for the server.- Author:
- David M. Lloyd
-
Field Summary
Fields inherited from interface org.jboss.msc.service.Service
NULL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.jboss.msc.value.InjectedValue<org.jboss.tm.ExtendedJBossXATerminator>org.jboss.msc.value.InjectedValue<org.jboss.as.server.ServerEnvironment>org.jboss.msc.value.InjectedValue<com.arjuna.ats.jbossatx.jta.TransactionManagerService>org.wildfly.transaction.client.LocalTransactionContextgetValue()org.jboss.msc.value.InjectedValue<org.jboss.tm.XAResourceRecoveryRegistry>voidstart(org.jboss.msc.service.StartContext context) voidstop(org.jboss.msc.service.StopContext context)
-
Constructor Details
-
LocalTransactionContextService
public LocalTransactionContextService(int staleTransactionTime)
-
-
Method Details
-
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
-