Class AdminObjectStatisticsService

java.lang.Object
org.jboss.as.connector.services.resourceadapters.statistics.AdminObjectStatisticsService
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 AdminObjectStatisticsService extends Object implements org.jboss.msc.service.Service<org.jboss.as.controller.registry.ManagementResourceRegistration>
  • Field Details

    • 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 Details

    • AdminObjectStatisticsService

      public AdminObjectStatisticsService(org.jboss.as.controller.registry.ManagementResourceRegistration registration, String jndiName, 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
    • getResourceAdapterDeploymentInjector

      public org.jboss.msc.inject.Injector<ResourceAdapterDeployment> getResourceAdapterDeploymentInjector()
    • getBootstrapContextInjector

      public org.jboss.msc.inject.Injector<org.jboss.jca.core.api.bootstrap.CloneableBootstrapContext> getBootstrapContextInjector()