Class ExternalJMSTopicService
java.lang.Object
org.wildfly.extension.messaging.activemq.jms.ExternalJMSTopicService
- 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 ExternalJMSTopicService
extends Object
implements org.jboss.msc.service.Service<jakarta.jms.Topic>
Service responsible for creating and destroying a client
jakarta.jms.Topic.- Author:
- Emmanuel Hugonnet (c) 2018 Red Hat, inc.
-
Field Summary
Fields inherited from interface org.jboss.msc.service.Service
NULL -
Method Summary
Modifier and TypeMethodDescriptionjakarta.jms.TopicgetValue()static ExternalJMSTopicServiceinstallRuntimeTopicService(DestinationConfiguration config, org.jboss.msc.service.ServiceTarget serviceTarget, org.jboss.msc.service.ServiceName pcf, boolean enabledAMQ1Prefix) static ExternalJMSTopicServiceinstallService(String name, org.jboss.msc.service.ServiceName serviceName, org.jboss.msc.service.ServiceTarget serviceTarget, boolean enabledAMQ1Prefix) voidstart(org.jboss.msc.service.StartContext context) voidstop(org.jboss.msc.service.StopContext context)
-
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
- Specified by:
getValuein interfaceorg.jboss.msc.value.Value<jakarta.jms.Topic>- Throws:
IllegalStateException
-
installService
public static ExternalJMSTopicService installService(String name, org.jboss.msc.service.ServiceName serviceName, org.jboss.msc.service.ServiceTarget serviceTarget, boolean enabledAMQ1Prefix) -
installRuntimeTopicService
public static ExternalJMSTopicService installRuntimeTopicService(DestinationConfiguration config, org.jboss.msc.service.ServiceTarget serviceTarget, org.jboss.msc.service.ServiceName pcf, boolean enabledAMQ1Prefix)
-