Package net.shibboleth.idp.module.impl
Class ModuleGaugeSet
java.lang.Object
org.springframework.context.support.ApplicationObjectSupport
net.shibboleth.idp.module.impl.ModuleGaugeSet
- All Implemented Interfaces:
com.codahale.metrics.Metric,com.codahale.metrics.MetricFilter,com.codahale.metrics.MetricSet,Aware,ApplicationContextAware
public class ModuleGaugeSet
extends ApplicationObjectSupport
implements com.codahale.metrics.MetricSet, com.codahale.metrics.MetricFilter
Guage set to report the Modules' statuses.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final StringDefault prefix for metrics.The map of gauges.Fields inherited from class org.springframework.context.support.ApplicationObjectSupport
loggerFields inherited from interface com.codahale.metrics.MetricFilter
ALL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate StringGet the idp home location (from the properties in the context).Return the module Ids and whether rhey are enabled or not.protected booleanbooleanMethods inherited from class org.springframework.context.support.ApplicationObjectSupport
getApplicationContext, getMessageSourceAccessor, initApplicationContext, initApplicationContext, obtainApplicationContext, requiredContextClass, setApplicationContext
-
Field Details
-
DEFAULT_METRIC_NAME
Default prefix for metrics.- See Also:
-
gauges
The map of gauges.
-
-
Constructor Details
-
ModuleGaugeSet
public ModuleGaugeSet()Constructor.
-
-
Method Details
-
getModules
Return the module Ids and whether rhey are enabled or not.- Returns:
- the modules
-
getIdpHome
Get the idp home location (from the properties in the context).- Returns:
- idp home
-
getMetrics
- Specified by:
getMetricsin interfacecom.codahale.metrics.MetricSet
-
isContextRequired
protected boolean isContextRequired()- Overrides:
isContextRequiredin classApplicationObjectSupport
-
matches
- Specified by:
matchesin interfacecom.codahale.metrics.MetricFilter
-