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 Summary
FieldsModifier and TypeFieldDescriptionprotected final org.jboss.msc.value.InjectedValue<ResourceAdapterDeployment>Fields inherited from interface org.jboss.msc.service.Service
NULL -
Constructor Summary
ConstructorsConstructorDescriptionPooledConnectionFactoryStatisticsService(org.jboss.as.controller.registry.ManagementResourceRegistration registration, boolean statsEnabled) create an instance * -
Method Summary
Modifier and TypeMethodDescriptionorg.jboss.msc.inject.Injector<ResourceAdapterDeployment>org.jboss.as.controller.registry.ManagementResourceRegistrationgetValue()static voidregisterStatisticsResources(org.jboss.as.controller.registry.Resource resource) static voidremoveStatisticsResources(org.jboss.as.controller.registry.Resource resource) voidstart(org.jboss.msc.service.StartContext context) voidstop(org.jboss.msc.service.StopContext context)
-
Field Details
-
injectedRADeployment
-
-
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:
startin interfaceorg.jboss.msc.Service- Throws:
org.jboss.msc.service.StartException
-
stop
public void stop(org.jboss.msc.service.StopContext context) - Specified by:
stopin interfaceorg.jboss.msc.Service
-
getValue
public org.jboss.as.controller.registry.ManagementResourceRegistration getValue() throws IllegalStateException, IllegalArgumentException- Specified by:
getValuein interfaceorg.jboss.msc.value.Value<org.jboss.as.controller.registry.ManagementResourceRegistration>- Throws:
IllegalStateExceptionIllegalArgumentException
-
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)
-