Class EntityMBean
java.lang.Object
com.swiftmq.impl.mgmt.standard.jmx.EntityMBean
- All Implemented Interfaces:
DynamicMBean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
entityAdded
(Entity parent, Entity newEntity) void
entityRemoved
(Entity parent, Entity oldEntity) getAttribute
(String attribute) getAttributes
(String[] attributes) Entity
void
setAttribute
(Attribute attribute) setAttributes
(AttributeList attributes) void
setObjectName
(ObjectName objectName) toString()
-
Constructor Details
-
EntityMBean
-
-
Method Details
-
setObjectName
-
getObjectName
-
getEntity
public Entity getEntity() -
getMBeanInfo
- Specified by:
getMBeanInfo
in interfaceDynamicMBean
-
getAttribute
public Object getAttribute(String attribute) throws AttributeNotFoundException, MBeanException, ReflectionException - Specified by:
getAttribute
in interfaceDynamicMBean
- Throws:
AttributeNotFoundException
MBeanException
ReflectionException
-
setAttribute
public void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException - Specified by:
setAttribute
in interfaceDynamicMBean
- Throws:
AttributeNotFoundException
InvalidAttributeValueException
MBeanException
ReflectionException
-
getAttributes
- Specified by:
getAttributes
in interfaceDynamicMBean
-
setAttributes
- Specified by:
setAttributes
in interfaceDynamicMBean
-
invoke
public Object invoke(String actionName, Object[] params, String[] signature) throws MBeanException, ReflectionException - Specified by:
invoke
in interfaceDynamicMBean
- Throws:
MBeanException
ReflectionException
-
entityAdded
public void entityAdded(Entity parent, Entity newEntity) -
entityRemoved
public void entityRemoved(Entity parent, Entity oldEntity) -
close
public void close() -
toString
-