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.service.Service<javax.jms.ConnectionFactory>
org.jboss.msc.service.StartException
public void stop(org.jboss.msc.service.StopContext context)
stop
in interface org.jboss.msc.service.Service<javax.jms.ConnectionFactory>
public javax.jms.ConnectionFactory getValue() throws IllegalStateException, IllegalArgumentException
getValue
in interface org.jboss.msc.value.Value<javax.jms.ConnectionFactory>
IllegalStateException
IllegalArgumentException
public 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 © 2017 JBoss by Red Hat. All rights reserved.