Package org.wildfly.extension.metrics
Class MetricsContextService
java.lang.Object
org.wildfly.extension.metrics.MetricsContextService
- All Implemented Interfaces:
org.jboss.msc.Service
- Author:
- Jeff Mesnil (c) 2018 Red Hat inc.
-
Field Summary
Fields inherited from interface org.jboss.msc.Service
NULL -
Constructor Summary
ConstructorsConstructorDescriptionMetricsContextService(Consumer<MetricsContextService> consumer, Supplier<org.jboss.as.server.mgmt.domain.ExtensibleHttpManagement> extensibleHttpManagement, Supplier<WildFlyMetricRegistry> wildflyMetricRegistry, Supplier<Boolean> securityEnabledSupplier) -
Method Summary
Modifier and TypeMethodDescriptionvoidsetOverrideableMetricHandler(io.undertow.server.HttpHandler handler) voidstart(org.jboss.msc.service.StartContext context) voidstop(org.jboss.msc.service.StopContext context)
-
Constructor Details
-
MetricsContextService
public MetricsContextService(Consumer<MetricsContextService> consumer, Supplier<org.jboss.as.server.mgmt.domain.ExtensibleHttpManagement> extensibleHttpManagement, Supplier<WildFlyMetricRegistry> wildflyMetricRegistry, Supplier<Boolean> securityEnabledSupplier)
-
-
Method Details
-
start
public void start(org.jboss.msc.service.StartContext context) - Specified by:
startin interfaceorg.jboss.msc.Service
-
stop
public void stop(org.jboss.msc.service.StopContext context) - Specified by:
stopin interfaceorg.jboss.msc.Service
-
setOverrideableMetricHandler
public void setOverrideableMetricHandler(io.undertow.server.HttpHandler handler)
-