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
  • 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:
      start in interface org.jboss.msc.Service
      Throws:
      org.jboss.msc.service.StartException
    • stop

      public void stop(org.jboss.msc.service.StopContext context)
      Specified by:
      stop in interface org.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:
      getValue in interface org.jboss.msc.value.Value<org.wildfly.transaction.client.LocalTransactionContext>
      Throws:
      IllegalStateException
      IllegalArgumentException