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
-
-
Field Summary
Fields Modifier and Type Field Description protected ComponentsJmxRegistration
registrar
-
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()
protected ResourceDMBean
getResourceDMBean(Object instance)
protected ResourceDMBean
getResourceDMBean(Object instance, String componentName)
protected Collection<ResourceDMBean>
getResourceDMBeansFromComponents(Collection<ComponentRef<?>> components)
protected void
initMBeanServer(GlobalConfiguration globalConfig)
protected void
unregisterMBeans(Collection<ResourceDMBean> resourceDMBeans)
-
-
-
Field Detail
-
registrar
protected ComponentsJmxRegistration registrar
-
-
Method Detail
-
buildRegistrar
protected abstract ComponentsJmxRegistration buildRegistrar()
-
initMBeanServer
protected void initMBeanServer(GlobalConfiguration globalConfig)
-
unregisterMBeans
protected void unregisterMBeans(Collection<ResourceDMBean> resourceDMBeans)
-
getResourceDMBeansFromComponents
protected Collection<ResourceDMBean> getResourceDMBeansFromComponents(Collection<ComponentRef<?>> components)
-
getResourceDMBean
protected ResourceDMBean getResourceDMBean(Object instance)
-
getResourceDMBean
protected ResourceDMBean getResourceDMBean(Object instance, String componentName)
-
-