|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A delegate standard mbean.
Method Summary | |
javax.management.MBeanInfo |
buildMBeanInfo()
Builds a default MBeanInfo for this MBean, using the Management Interface specified for this MBean. |
void |
cacheMBeanInfo(javax.management.MBeanInfo info)
Sets the cached mbean info |
javax.management.MBeanInfo |
getCachedMBeanInfo()
Retrieve the cached mbean info |
Object |
getImplementation()
Retrieve the implementation object |
Class |
getMBeanInterface()
Retrieve the management interface |
void |
setImplementation(Object implementation)
Replace the implementation object |
Methods inherited from interface javax.management.DynamicMBean |
getAttribute, getAttributes, getMBeanInfo, invoke, setAttribute, setAttributes |
Method Detail |
public Object getImplementation()
public void setImplementation(Object implementation) throws javax.management.NotCompliantMBeanException
implementation
- the new implementation
IllegalArgumentException
- for a null parameter
javax.management.NotCompliantMBeanException
- if the new implementation
does not implement the interface supplied at
constructionpublic Class getMBeanInterface()
public javax.management.MBeanInfo getCachedMBeanInfo()
public void cacheMBeanInfo(javax.management.MBeanInfo info)
info
- the mbeaninfo to cache, can be null to erase the cachepublic javax.management.MBeanInfo buildMBeanInfo() throws javax.management.NotCompliantMBeanException
javax.management.NotCompliantMBeanException
- when the mbean is not a standardmbean
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |