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 fromDataSourceStatisticsService
-
-
Field Summary
Fields Modifier and Type Field Description protected org.jboss.msc.value.InjectedValue<ResourceAdapterDeployment>injectedRADeployment
-
Constructor Summary
Constructors Constructor Description PooledConnectionFactoryStatisticsService(org.jboss.as.controller.registry.ManagementResourceRegistration registration, boolean statsEnabled)create an instance *
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.msc.inject.Injector<ResourceAdapterDeployment>getRADeploymentInjector()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 Detail
-
injectedRADeployment
protected final org.jboss.msc.value.InjectedValue<ResourceAdapterDeployment> injectedRADeployment
-
-
Method Detail
-
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
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)
-
-