Package org.jboss.as.txn.service
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 org.jboss.msc.service.ServiceNameINTERNAL_SERVICE_NAMENon-deprecated service name only for use within the subsystemstatic org.jboss.msc.service.ServiceNameSERVICE_NAMEDeprecated.Use the "org.wildfly.transactions.transaction-synchronization-registry" capability
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidaddService(org.jboss.as.controller.CapabilityServiceTarget target)jakarta.transaction.TransactionSynchronizationRegistrygetValue()voidstart(org.jboss.msc.service.StartContext startContext)voidstop(org.jboss.msc.service.StopContext stopContext)
-
-
-
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:
startin interfaceorg.jboss.msc.Service
-
stop
public void stop(org.jboss.msc.service.StopContext stopContext)
- Specified by:
stopin interfaceorg.jboss.msc.Service
-
getValue
public jakarta.transaction.TransactionSynchronizationRegistry getValue() throws IllegalStateException- Specified by:
getValuein interfaceorg.jboss.msc.value.Value<jakarta.transaction.TransactionSynchronizationRegistry>- Throws:
IllegalStateException
-
-