Class TransactionSynchronizationRegistryService

  • All Implemented Interfaces:
    org.jboss.msc.Service, org.jboss.msc.service.Service<jakarta.transaction.TransactionSynchronizationRegistry>, org.jboss.msc.value.Value<jakarta.transaction.TransactionSynchronizationRegistry>

    public class TransactionSynchronizationRegistryService
    extends Object
    implements org.jboss.msc.service.Service<jakarta.transaction.TransactionSynchronizationRegistry>
    Service that exposes the TransactionSynchronizationRegistry
    Author:
    Stuart Douglas, Richard Opalka
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.jboss.msc.service.ServiceName INTERNAL_SERVICE_NAME
      Non-deprecated service name only for use within the subsystem
      static org.jboss.msc.service.ServiceName SERVICE_NAME
      Deprecated.
      Use the "org.wildfly.transactions.transaction-synchronization-registry" capability
      • Fields inherited from interface org.jboss.msc.service.Service

        NULL
    • Field Detail

      • SERVICE_NAME

        @Deprecated
        public static final org.jboss.msc.service.ServiceName SERVICE_NAME
        Deprecated.
        Use the "org.wildfly.transactions.transaction-synchronization-registry" capability
      • INTERNAL_SERVICE_NAME

        public static final org.jboss.msc.service.ServiceName INTERNAL_SERVICE_NAME
        Non-deprecated service name only for use within the subsystem
    • Method Detail

      • addService

        public static void addService​(org.jboss.as.controller.CapabilityServiceTarget target)
      • start

        public void start​(org.jboss.msc.service.StartContext startContext)
        Specified by:
        start in interface org.jboss.msc.Service
      • stop

        public void stop​(org.jboss.msc.service.StopContext stopContext)
        Specified by:
        stop in interface org.jboss.msc.Service
      • getValue

        public jakarta.transaction.TransactionSynchronizationRegistry getValue()
                                                                        throws IllegalStateException
        Specified by:
        getValue in interface org.jboss.msc.value.Value<jakarta.transaction.TransactionSynchronizationRegistry>
        Throws:
        IllegalStateException