Package org.infinispan.jmx
Class AbstractJmxRegistration
- java.lang.Object
-
- org.infinispan.jmx.AbstractJmxRegistration
-
- Direct Known Subclasses:
CacheJmxRegistration
,CacheManagerJmxRegistration
public abstract class AbstractJmxRegistration extends Object
Parent class for top level JMX component registration.- Since:
- 4.0
- Author:
- Galder ZamarreƱo
-
-
Constructor Summary
Constructors Constructor Description AbstractJmxRegistration()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract ComponentsJmxRegistration
buildRegistrar(Set<AbstractComponentRegistry.Component> components)
protected boolean
registerMBeans(Set<AbstractComponentRegistry.Component> components, GlobalConfiguration globalConfig)
Registers a set of MBean components and returns true if successfully registered; false otherwise.protected void
unregisterMBeans(Set<AbstractComponentRegistry.Component> components)
-
-
-
Method Detail
-
buildRegistrar
protected abstract ComponentsJmxRegistration buildRegistrar(Set<AbstractComponentRegistry.Component> components)
-
registerMBeans
protected boolean registerMBeans(Set<AbstractComponentRegistry.Component> components, GlobalConfiguration globalConfig)
Registers a set of MBean components and returns true if successfully registered; false otherwise.- Parameters:
components
- components to registerglobalConfig
- global configuration- Returns:
- true if successfully registered; false otherwise.
-
unregisterMBeans
protected void unregisterMBeans(Set<AbstractComponentRegistry.Component> components)
-
-