com.liferay.portal.kernel.jmx
Class MBeanRegistry
java.lang.Object
com.liferay.portal.kernel.jmx.MBeanRegistry
public class MBeanRegistry
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBeanRegistry
public MBeanRegistry()
destroy
public void destroy()
throws Exception
- Throws:
Exception
getObjectName
public ObjectName getObjectName(String objectNameCacheKey)
register
public ObjectInstance register(String objectNameCacheKey,
Object object,
ObjectName objectName)
throws InstanceAlreadyExistsException,
MBeanRegistrationException,
NotCompliantMBeanException
- Throws:
InstanceAlreadyExistsException
MBeanRegistrationException
NotCompliantMBeanException
replace
public void replace(String objectCacheKey,
Object object,
ObjectName objectName)
throws Exception
- Throws:
Exception
setMBeanServer
public void setMBeanServer(MBeanServer mBeanServer)
unregister
public void unregister(String objectNameCacheKey,
ObjectName defaultObjectName)
throws InstanceNotFoundException,
MBeanRegistrationException
- Throws:
InstanceNotFoundException
MBeanRegistrationException