Class LegacyConnectionFactoryService

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

public class LegacyConnectionFactoryService extends Object implements org.jboss.msc.service.Service<jakarta.jms.ConnectionFactory>
Author:
Jeff Mesnil (c) 2015 Red Hat inc.
  • Field Summary

    Fields inherited from interface org.jboss.msc.service.Service

    NULL
  • Constructor Summary

    Constructors
    Constructor
    Description
    LegacyConnectionFactoryService(org.hornetq.jms.client.HornetQConnectionFactory uncompletedConnectionFactory, String discoveryGroupName, List<String> connectors)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    jakarta.jms.ConnectionFactory
     
    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LegacyConnectionFactoryService

      public LegacyConnectionFactoryService(org.hornetq.jms.client.HornetQConnectionFactory uncompletedConnectionFactory, String discoveryGroupName, List<String> connectors)
  • 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.ConnectionFactory getValue() throws IllegalStateException, IllegalArgumentException
      Specified by:
      getValue in interface org.jboss.msc.value.Value<jakarta.jms.ConnectionFactory>
      Throws:
      IllegalStateException
      IllegalArgumentException
    • installService

      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)