Package org.jboss.as.txn.service
Class CoreEnvironmentService
java.lang.Object
org.jboss.as.txn.service.CoreEnvironmentService
- All Implemented Interfaces:
org.jboss.msc.Service
An msc service for setting up the
- Author:
- Scott stark (sstark@redhat.com) (C) 2011 Red Hat Inc., Richard Opalka
-
Field Summary
Fields inherited from interface org.jboss.msc.Service
NULL -
Constructor Summary
ConstructorsConstructorDescriptionCoreEnvironmentService(Consumer<com.arjuna.ats.arjuna.common.CoreEnvironmentBean> coreEnvironmentBeanConsumer, Supplier<org.jboss.as.network.SocketBinding> socketBindingSupplier, Supplier<String> nodeIdentifierSupplier, Supplier<Integer> portsSupplier, Supplier<String> processImplClassSupplier, Supplier<com.arjuna.ats.arjuna.utils.Process> processImplSupplier) -
Method Summary
-
Constructor Details
-
CoreEnvironmentService
public CoreEnvironmentService(Consumer<com.arjuna.ats.arjuna.common.CoreEnvironmentBean> coreEnvironmentBeanConsumer, Supplier<org.jboss.as.network.SocketBinding> socketBindingSupplier, Supplier<String> nodeIdentifierSupplier, Supplier<Integer> portsSupplier, Supplier<String> processImplClassSupplier, Supplier<com.arjuna.ats.arjuna.utils.Process> processImplSupplier)
-
-
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
-