com.ireasoning.core.jmx
Class MBeanManager
java.lang.Object
com.ireasoning.core.jmx.MBeanManager
- public class MBeanManager
- extends Object
This class manages MBean's operations.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static MBeanManager getInstance()
setMBeanServer
public void setMBeanServer(MBeanServer server)
getMBeanServer
public MBeanServer getMBeanServer()
registerMBean
public void registerMBean(Object object,
ObjectName objName)
throws InstanceAlreadyExistsException,
MBeanRegistrationException,
NotCompliantMBeanException
- Throws:
InstanceAlreadyExistsException
MBeanRegistrationException
NotCompliantMBeanException
isRegistered
public boolean isRegistered(ObjectName name)
unregisterMBean
public void unregisterMBean(ObjectName name)
throws InstanceNotFoundException,
MBeanRegistrationException
- Throws:
InstanceNotFoundException
MBeanRegistrationException
setAttribute
public void setAttribute(ObjectName name,
Attribute attribute)
throws InstanceNotFoundException,
AttributeNotFoundException,
InvalidAttributeValueException,
MBeanException,
ReflectionException
- Throws:
InstanceNotFoundException
AttributeNotFoundException
InvalidAttributeValueException
MBeanException
ReflectionException
getAttribute
public Object getAttribute(ObjectName name,
String attribute)
throws MBeanException,
AttributeNotFoundException,
InstanceNotFoundException,
ReflectionException
- Throws:
MBeanException
AttributeNotFoundException
InstanceNotFoundException
ReflectionException
invoke
public Object invoke(ObjectName name,
String operationName,
Object[] params,
String[] signature)
throws InstanceNotFoundException,
MBeanException,
ReflectionException
- Throws:
InstanceNotFoundException
MBeanException
ReflectionException
removeNotificationListener
public void removeNotificationListener(ObjectName name,
NotificationListener listener)
throws InstanceNotFoundException,
ListenerNotFoundException
- Throws:
InstanceNotFoundException
ListenerNotFoundException
getMBeanInfo
public MBeanInfo getMBeanInfo(ObjectName name)
throws InstanceNotFoundException,
IntrospectionException,
ReflectionException
- Throws:
InstanceNotFoundException
IntrospectionException
ReflectionException
getObjectName
public ObjectName getObjectName(ObjectName objName)
Copyright © 2002 iReasoning Inc. All Rights Reserved.