Class JMSService
java.lang.Object
org.wildfly.extension.messaging.activemq.jms.JMSService
- All Implemented Interfaces:
org.jboss.msc.Service,org.jboss.msc.service.Service<org.apache.activemq.artemis.jms.server.JMSServerManager>,org.jboss.msc.value.Value<org.apache.activemq.artemis.jms.server.JMSServerManager>
public class JMSService
extends Object
implements org.jboss.msc.service.Service<org.apache.activemq.artemis.jms.server.JMSServerManager>
The
JMSServerManager service.- Author:
- Emanuel Muckenhuber
-
Field Summary
Fields inherited from interface org.jboss.msc.service.Service
NULL -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJMSService(org.jboss.msc.service.ServiceName serverServiceName, boolean overrideInVMSecurity) -
Method Summary
Modifier and TypeMethodDescriptionstatic org.jboss.msc.service.ServiceController<org.apache.activemq.artemis.jms.server.JMSServerManager>addService(org.jboss.msc.service.ServiceTarget target, org.jboss.msc.service.ServiceName serverServiceName, boolean overrideInVMSecurity) org.apache.activemq.artemis.jms.server.JMSServerManagergetValue()voidstart(org.jboss.msc.service.StartContext context) voidstop(org.jboss.msc.service.StopContext context)
-
Constructor Details
-
JMSService
protected JMSService(org.jboss.msc.service.ServiceName serverServiceName, boolean overrideInVMSecurity)
-
-
Method Details
-
addService
public static org.jboss.msc.service.ServiceController<org.apache.activemq.artemis.jms.server.JMSServerManager> addService(org.jboss.msc.service.ServiceTarget target, org.jboss.msc.service.ServiceName serverServiceName, boolean overrideInVMSecurity) -
getValue
public org.apache.activemq.artemis.jms.server.JMSServerManager getValue() throws IllegalStateException- Specified by:
getValuein interfaceorg.jboss.msc.value.Value<org.apache.activemq.artemis.jms.server.JMSServerManager>- Throws:
IllegalStateException
-
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
-