Class PooledConnectionFactoryStatisticsService

java.lang.Object
org.wildfly.extension.messaging.activemq.jms.PooledConnectionFactoryStatisticsService
All Implemented Interfaces:
org.jboss.msc.Service, org.jboss.msc.service.Service<org.jboss.as.controller.registry.ManagementResourceRegistration>, org.jboss.msc.value.Value<org.jboss.as.controller.registry.ManagementResourceRegistration>

public class PooledConnectionFactoryStatisticsService extends Object implements org.jboss.msc.service.Service<org.jboss.as.controller.registry.ManagementResourceRegistration>
Service providing statistics for the pooled-connection-factory's pool. copied from DataSourceStatisticsService
  • Field Details

  • Constructor Details

    • PooledConnectionFactoryStatisticsService

      public PooledConnectionFactoryStatisticsService(org.jboss.as.controller.registry.ManagementResourceRegistration registration, boolean statsEnabled)
      create an instance *
  • 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 org.jboss.as.controller.registry.ManagementResourceRegistration getValue() throws IllegalStateException, IllegalArgumentException
      Specified by:
      getValue in interface org.jboss.msc.value.Value<org.jboss.as.controller.registry.ManagementResourceRegistration>
      Throws:
      IllegalStateException
      IllegalArgumentException
    • getRADeploymentInjector

      public org.jboss.msc.inject.Injector<ResourceAdapterDeployment> getRADeploymentInjector()
    • registerStatisticsResources

      public static void registerStatisticsResources(org.jboss.as.controller.registry.Resource resource)
    • removeStatisticsResources

      public static void removeStatisticsResources(org.jboss.as.controller.registry.Resource resource)