Package org.jboss.as.txn.service
Class ArjunaRecoveryManagerService
java.lang.Object
org.jboss.as.txn.service.ArjunaRecoveryManagerService
- All Implemented Interfaces:
org.jboss.msc.Service,org.jboss.msc.service.Service<com.arjuna.ats.jbossatx.jta.RecoveryManagerService>,org.jboss.msc.value.Value<com.arjuna.ats.jbossatx.jta.RecoveryManagerService>
public class ArjunaRecoveryManagerService
extends Object
implements org.jboss.msc.service.Service<com.arjuna.ats.jbossatx.jta.RecoveryManagerService>
A service responsible for exposing the proprietary Arjuna
RecoveryManagerService.- Author:
- John Bailey, Scott Stark (sstark@redhat.com) (C) 2011 Red Hat Inc.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.jboss.msc.service.ServiceNameDeprecated.Use the "org.wildfly.transactions.xa-resource-recovery-registry" capabilityFields inherited from interface org.jboss.msc.service.Service
NULL -
Constructor Summary
ConstructorsConstructorDescriptionArjunaRecoveryManagerService(Consumer<com.arjuna.ats.jbossatx.jta.RecoveryManagerService> consumer, Supplier<org.jboss.as.network.SocketBinding> recoveryBindingSupplier, Supplier<org.jboss.as.network.SocketBinding> statusBindingSupplier, Supplier<org.jboss.as.network.SocketBindingManager> bindingManagerSupplier, Supplier<org.jboss.as.server.suspend.SuspendController> suspendControllerSupplier, Supplier<org.jboss.as.controller.ProcessStateNotifier> processStateSupplier, Supplier<org.omg.CORBA.ORB> orbSupplier, boolean recoveryListener, boolean jts) -
Method Summary
-
Field Details
-
SERVICE_NAME
Deprecated.Use the "org.wildfly.transactions.xa-resource-recovery-registry" capability
-
-
Constructor Details
-
ArjunaRecoveryManagerService
public ArjunaRecoveryManagerService(Consumer<com.arjuna.ats.jbossatx.jta.RecoveryManagerService> consumer, Supplier<org.jboss.as.network.SocketBinding> recoveryBindingSupplier, Supplier<org.jboss.as.network.SocketBinding> statusBindingSupplier, Supplier<org.jboss.as.network.SocketBindingManager> bindingManagerSupplier, Supplier<org.jboss.as.server.suspend.SuspendController> suspendControllerSupplier, Supplier<org.jboss.as.controller.ProcessStateNotifier> processStateSupplier, Supplier<org.omg.CORBA.ORB> orbSupplier, boolean recoveryListener, boolean jts)
-
-
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 com.arjuna.ats.jbossatx.jta.RecoveryManagerService getValue() throws IllegalStateException, IllegalArgumentException- Specified by:
getValuein interfaceorg.jboss.msc.value.Value<com.arjuna.ats.jbossatx.jta.RecoveryManagerService>- Throws:
IllegalStateExceptionIllegalArgumentException
-