Class 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
    • Constructor Detail

      • PooledConnectionFactoryStatisticsService

        public PooledConnectionFactoryStatisticsService​(org.jboss.as.controller.registry.ManagementResourceRegistration registration,
                                                        boolean statsEnabled)
        create an instance *
    • Method Detail

      • 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
        Specified by:
        start in interface org.jboss.msc.service.Service<org.jboss.as.controller.registry.ManagementResourceRegistration>
        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
        Specified by:
        stop in interface org.jboss.msc.service.Service<org.jboss.as.controller.registry.ManagementResourceRegistration>
      • registerStatisticsResources

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

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