Class ResourceAdapterStatisticsService
- java.lang.Object
-
- org.jboss.as.connector.services.resourceadapters.statistics.ResourceAdapterStatisticsService
-
- 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 ResourceAdapterStatisticsService extends Object implements org.jboss.msc.service.Service<org.jboss.as.controller.registry.ManagementResourceRegistration>
-
-
Field Summary
Fields Modifier and Type Field Description protected org.jboss.msc.value.InjectedValue<org.jboss.jca.core.api.bootstrap.CloneableBootstrapContext>bootstrapContextprotected org.jboss.msc.value.InjectedValue<ResourceAdapterDeployment>deployment
-
Constructor Summary
Constructors Constructor Description ResourceAdapterStatisticsService(org.jboss.as.controller.registry.ManagementResourceRegistration registration, String jndiName, boolean statsEnabled)create an instance *
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.msc.inject.Injector<org.jboss.jca.core.api.bootstrap.CloneableBootstrapContext>getBootstrapContextInjector()org.jboss.msc.inject.Injector<ResourceAdapterDeployment>getResourceAdapterDeploymentInjector()org.jboss.as.controller.registry.ManagementResourceRegistrationgetValue()voidstart(org.jboss.msc.service.StartContext context)voidstop(org.jboss.msc.service.StopContext context)
-
-
-
Field Detail
-
deployment
protected final org.jboss.msc.value.InjectedValue<ResourceAdapterDeployment> deployment
-
bootstrapContext
protected final org.jboss.msc.value.InjectedValue<org.jboss.jca.core.api.bootstrap.CloneableBootstrapContext> bootstrapContext
-
-
Constructor Detail
-
ResourceAdapterStatisticsService
public ResourceAdapterStatisticsService(org.jboss.as.controller.registry.ManagementResourceRegistration registration, String jndiName, 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:
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
-
getResourceAdapterDeploymentInjector
public org.jboss.msc.inject.Injector<ResourceAdapterDeployment> getResourceAdapterDeploymentInjector()
-
getBootstrapContextInjector
public org.jboss.msc.inject.Injector<org.jboss.jca.core.api.bootstrap.CloneableBootstrapContext> getBootstrapContextInjector()
-
-