Class TransactionSetupProviderService

  • All Implemented Interfaces:
    org.jboss.msc.Service, org.jboss.msc.service.Service<org.glassfish.enterprise.concurrent.spi.TransactionSetupProvider>, org.jboss.msc.value.Value<org.glassfish.enterprise.concurrent.spi.TransactionSetupProvider>

    public class TransactionSetupProviderService
    extends Object
    implements org.jboss.msc.service.Service<org.glassfish.enterprise.concurrent.spi.TransactionSetupProvider>
    Service responsible for managing a transaction setup provider's lifecycle.
    Author:
    Eduardo Martins
    • Field Detail

      • SERVICE_VALUE_TYPE

        public static final Class<?> SERVICE_VALUE_TYPE
    • Constructor Detail

      • TransactionSetupProviderService

        public TransactionSetupProviderService()
    • Method Detail

      • getTransactionManagerInjectedValue

        public org.jboss.msc.value.InjectedValue<javax.transaction.TransactionManager> getTransactionManagerInjectedValue()
      • 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
        Specified by:
        start in interface org.jboss.msc.service.Service<org.glassfish.enterprise.concurrent.spi.TransactionSetupProvider>
        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
        Specified by:
        stop in interface org.jboss.msc.service.Service<org.glassfish.enterprise.concurrent.spi.TransactionSetupProvider>
      • getValue

        public org.glassfish.enterprise.concurrent.spi.TransactionSetupProvider getValue()
                                                                                  throws IllegalStateException
        Specified by:
        getValue in interface org.jboss.msc.value.Value<org.glassfish.enterprise.concurrent.spi.TransactionSetupProvider>
        Throws:
        IllegalStateException