public class MetricsService extends Object implements org.jboss.msc.service.Service<MetricsService>
| Modifier and Type | Field and Description |
|---|---|
static org.jboss.msc.service.ServiceName |
SERVICE_NAME |
| Constructor and Description |
|---|
MetricsService() |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.msc.inject.Injector<org.jboss.as.controller.ModelController> |
getModelControllerInjector() |
org.jboss.msc.inject.Injector<org.jboss.as.server.ServerEnvironment> |
getServerEnvironmentInjector()
Register the metrics of the base scope with the system.
|
MetricsService |
getValue() |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
public void start(org.jboss.msc.service.StartContext context)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.service.Service<MetricsService>org.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.service.Service<MetricsService>public MetricsService getValue() throws IllegalStateException, IllegalArgumentException
getValue in interface org.jboss.msc.value.Value<MetricsService>IllegalStateExceptionIllegalArgumentExceptionpublic org.jboss.msc.inject.Injector<org.jboss.as.server.ServerEnvironment> getServerEnvironmentInjector()
public org.jboss.msc.inject.Injector<org.jboss.as.controller.ModelController> getModelControllerInjector()
Copyright © 2018 JBoss by Red Hat. All rights reserved.