Class TransactionSynchronizationRegistryService

java.lang.Object
org.jboss.as.txn.service.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 final org.jboss.msc.service.ServiceName
    Non-deprecated service name only for use within the subsystem
    static final org.jboss.msc.service.ServiceName
    Deprecated.
    Use the "org.wildfly.transactions.transaction-synchronization-registry" capability

    Fields inherited from interface org.jboss.msc.service.Service

    NULL
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    addService(org.jboss.as.controller.CapabilityServiceTarget target)
     
    jakarta.transaction.TransactionSynchronizationRegistry
     
    void
    start(org.jboss.msc.service.StartContext startContext)
     
    void
    stop(org.jboss.msc.service.StopContext stopContext)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • 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 Details

    • 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