Package org.jboss.as.txn.service
Class UserTransactionRegistryService
java.lang.Object
org.jboss.as.txn.service.UserTransactionRegistryService
- All Implemented Interfaces:
org.jboss.msc.Service,org.jboss.msc.service.Service<org.jboss.tm.usertx.UserTransactionRegistry>,org.jboss.msc.value.Value<org.jboss.tm.usertx.UserTransactionRegistry>
public class UserTransactionRegistryService
extends Object
implements org.jboss.msc.service.Service<org.jboss.tm.usertx.UserTransactionRegistry>
Service responsible for exposing a
UserTransactionRegistry instance.- Author:
- John Bailey
-
Field Summary
FieldsFields inherited from interface org.jboss.msc.service.Service
NULL -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
SERVICE_NAME
public static final org.jboss.msc.service.ServiceName SERVICE_NAME
-
-
Constructor Details
-
UserTransactionRegistryService
public UserTransactionRegistryService()
-
-
Method Details
-
start
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException - Specified by:
startin interfaceorg.jboss.msc.Service- Throws:
org.jboss.msc.service.StartException
-
stop
public void stop(org.jboss.msc.service.StopContext context) - Specified by:
stopin interfaceorg.jboss.msc.Service
-
getValue
public org.jboss.tm.usertx.UserTransactionRegistry getValue() throws IllegalStateException, IllegalArgumentException- Specified by:
getValuein interfaceorg.jboss.msc.value.Value<org.jboss.tm.usertx.UserTransactionRegistry>- Throws:
IllegalStateExceptionIllegalArgumentException
-