@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.jobs.JobsService |
getJobsService() |
org.hawkular.metrics.core.service.MetricsService |
getMetricsService() |
MetricsServiceLifecycle.State |
getState()
Returns the lifecycle state of the
MetricsService shared in application scope. |
org.hawkular.metrics.scheduler.impl.TestScheduler |
getTestScheduler() |
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 scope@Produces @ApplicationScoped public org.hawkular.metrics.core.jobs.JobsService getJobsService()
@Produces @ApplicationScoped public org.hawkular.metrics.scheduler.impl.TestScheduler getTestScheduler()
Copyright © 2014–2016 Red Hat, Inc.. All rights reserved.