public class LegacyConnectionFactoryService extends Object implements org.jboss.msc.service.Service<javax.jms.ConnectionFactory>
| Constructor and Description |
|---|
LegacyConnectionFactoryService(org.hornetq.jms.client.HornetQConnectionFactory uncompletedConnectionFactory,
String discoveryGroupName,
List<String> connectors) |
| Modifier and Type | Method and Description |
|---|---|
javax.jms.ConnectionFactory |
getValue() |
static LegacyConnectionFactoryService |
installService(String name,
org.jboss.msc.service.ServiceName activeMQServerServiceName,
org.jboss.msc.service.ServiceTarget serviceTarget,
org.hornetq.jms.client.HornetQConnectionFactory uncompletedConnectionFactory,
String discoveryGroupName,
List<String> connectors) |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
public void start(org.jboss.msc.service.StartContext context)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.Serviceorg.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.Servicepublic javax.jms.ConnectionFactory getValue()
throws IllegalStateException,
IllegalArgumentException
getValue in interface org.jboss.msc.value.Value<javax.jms.ConnectionFactory>IllegalStateExceptionIllegalArgumentExceptionpublic static LegacyConnectionFactoryService installService(String name, org.jboss.msc.service.ServiceName activeMQServerServiceName, org.jboss.msc.service.ServiceTarget serviceTarget, org.hornetq.jms.client.HornetQConnectionFactory uncompletedConnectionFactory, String discoveryGroupName, List<String> connectors)
Copyright © 2020 JBoss by Red Hat. All rights reserved.