From: <Mar...@no...> - 2003-07-08 20:03:13
|
hi all, i m working with jmx xdoclet tags...and i would like to be able to do check if there is a Set method with teh = jmx-managed-attribute tag.. how can i do that? it seems that there no classes that can help to check if there is a set = method with a certain name and that has a certain tag.. example: from following code (taken from JBossXMLExample) /** * Get the Ref value. * * @return the Ref value. * @jmx.managed-attribute * access=3D"read-write" * description=3D"Object Name attribute" * value=3D"xdoclet.test:service=3DRefTest" */ public ObjectName getRef() { return ref; } /** * Set the Ref value. * * @param newRef The new Ref value. * @jmx.managed-attribute */ public void setRef(ObjectName newRef) { this.ref =3D newRef; } if the attribute Ref has also a set method, i want to be able to output = something. if instead there is no set method for the Ref attribute, i want to be = able to output something else.. anyone can help ? thanx and regards marco |