|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.realityforge.metaclass.jmx.ModelInfoCreationHelper
This is a class that helps the developer to incrementally build a ModelMBean. The developer adds various info objects and then at completion calls toModelMBean.
| Constructor Summary | |
ModelInfoCreationHelper()
|
|
| Method Summary | |
void |
addAttribute(javax.management.modelmbean.ModelMBeanAttributeInfo info)
Add an attribute info. |
void |
addConstructor(javax.management.modelmbean.ModelMBeanConstructorInfo info)
Add a constructor info. |
void |
addNotification(javax.management.modelmbean.ModelMBeanNotificationInfo info)
Add a notification info. |
void |
addOperation(javax.management.modelmbean.ModelMBeanOperationInfo info)
Add an operation info. |
javax.management.modelmbean.ModelMBeanAttributeInfo[] |
getAttributes()
Return the set of attribute infos. |
javax.management.modelmbean.ModelMBeanConstructorInfo[] |
getConstructors()
Return the set of constructor infos. |
javax.management.modelmbean.ModelMBeanNotificationInfo[] |
getNotifications()
Return the set of notification infos. |
javax.management.modelmbean.ModelMBeanOperationInfo[] |
getOperations()
Return the set of operation infos. |
void |
setClassname(String classname)
Set the classname for ModelMBeanInfo. |
void |
setDescription(String description)
Set the description for ModelMBeanInfo. |
javax.management.modelmbean.ModelMBeanInfo |
toModelMBeanInfo()
Create ModelMBeanInfo from values specified for class. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ModelInfoCreationHelper()
| Method Detail |
public void setClassname(String classname)
classname - the classname for ModelMBeanInfopublic void setDescription(String description)
description - the description for ModelMBeanInfo.public void addAttribute(javax.management.modelmbean.ModelMBeanAttributeInfo info)
info - the infopublic void addConstructor(javax.management.modelmbean.ModelMBeanConstructorInfo info)
info - the infopublic void addOperation(javax.management.modelmbean.ModelMBeanOperationInfo info)
info - the infopublic void addNotification(javax.management.modelmbean.ModelMBeanNotificationInfo info)
info - the infopublic javax.management.modelmbean.ModelMBeanInfo toModelMBeanInfo()
public javax.management.modelmbean.ModelMBeanNotificationInfo[] getNotifications()
public javax.management.modelmbean.ModelMBeanOperationInfo[] getOperations()
public javax.management.modelmbean.ModelMBeanConstructorInfo[] getConstructors()
public javax.management.modelmbean.ModelMBeanAttributeInfo[] getAttributes()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||