Annotations for JMX - The Gmbal project
Annotations for JMX - The Gmbal project
Annotations for JMX - The Gmbal project
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
ManagedObjectManager API:<br />
miscellaneous<br />
public interface ManagedObjectManager {<br />
void suspend<strong>JMX</strong>Registration() ;<br />
void resume<strong>JMX</strong>Registration() ;<br />
ObjectName getObjectName( Object obj ) ;<br />
Object getObject( ObjectName oname ) ;<br />
void stripPrefix( String... str )<br />
String getDomain() ;<br />
MBeanServer getMBeanServer() ;<br />
void setMBeanServer( MBeanServer server ) ;<br />
ResourceBundle getResourceBundle() ;<br />
void setResourceBundle( ResourceBundle rb ) ;<br />
void addAnnotation( AnnotatedElement element, Annotation annotation )<br />
}<br />
Suspend/resume to deal with registration in constructor problem<br />
Access object name object mapping <strong>for</strong> registered objects<br />
set/get MBeanServer and description resource bundle<br />
stripPrefix and add<strong>Annotations</strong> discussed later<br />
Friday, December 11, 2009<br />
14