Class JMSTopicService

java.lang.Object
org.wildfly.extension.messaging.activemq.jms.JMSTopicService
All Implemented Interfaces:
org.jboss.msc.Service, org.jboss.msc.service.Service<jakarta.jms.Topic>, org.jboss.msc.value.Value<jakarta.jms.Topic>

public class JMSTopicService extends Object implements org.jboss.msc.service.Service<jakarta.jms.Topic>
Service responsible for creating and destroying a jakarta.jms.Topic.
Author:
Emanuel Muckenhuber
  • Constructor Details

    • JMSTopicService

      public JMSTopicService(String name)
  • Method Details

    • 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
    • getValue

      public jakarta.jms.Topic getValue() throws IllegalStateException
      Specified by:
      getValue in interface org.jboss.msc.value.Value<jakarta.jms.Topic>
      Throws:
      IllegalStateException
    • installService

      public static JMSTopicService installService(String name, org.jboss.msc.service.ServiceName serverServiceName, org.jboss.msc.service.ServiceTarget serviceTarget)