Class 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

      Constructors 
      Modifier Constructor Description
      protected JMSService​(org.jboss.msc.service.ServiceName serverServiceName, boolean overrideInVMSecurity)  
    • Constructor Detail

      • JMSService

        protected JMSService​(org.jboss.msc.service.ServiceName serverServiceName,
                             boolean overrideInVMSecurity)
    • Method Detail

      • 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:
        getValue in interface org.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:
        start in interface org.jboss.msc.Service
        Throws:
        org.jboss.msc.service.StartException
      • stop

        public void stop​(org.jboss.msc.service.StopContext context)
        Specified by:
        stop in interface org.jboss.msc.Service