This content has been marked as final.
Show 2 replies
-
1. Re: where do all mbean attributes come from. Not all are def
efhajg0 May 24, 2005 11:02 AM (in response to efhajg0)please disregard and see the next post. thank you
-
2. Re: where do all mbean attributes come from. Not all are def
dimitris May 24, 2005 11:06 AM (in response to efhajg0)In the jboss-service.xml descriptors we simply inject values to any number of setable attributes, we don't declare the attributes there.
If we are talking about standard mbeans, attributes are derived from the MBean interface implemented by the class (using reflection), by those methods that follow the java bean pattern:
public <some-type> getAttrName();
public void setAttrName(<some-type>);
(read the jmx spec).
In jboss we also have xmbean (when an xmbean descriptor is provided, where we can explicitly specify the attributes there).
See for example the descriptors in server/default/conf/xmdesc directory.