@ApplicationScoped public class MetricsServiceLifecycle extends Object
MetricsService instance shared in application scope.| Modifier and Type | Class and Description |
|---|---|
static class |
MetricsServiceLifecycle.State |
| Modifier and Type | Method and Description |
|---|---|
org.hawkular.metrics.core.service.MetricsService |
getMetricsService() |
MetricsServiceLifecycle.State |
getState()
Returns the lifecycle state of the
MetricsService shared in application scope. |
public MetricsServiceLifecycle.State getState()
MetricsService shared in application scope.MetricsService@Produces @ApplicationScoped public org.hawkular.metrics.core.service.MetricsService getMetricsService()
MetricsService instance to share in application scopeCopyright © 2014–2016 Red Hat, Inc.. All rights reserved.