Hi,

When developping a MBeanService component, how to get
multiple attributes from a -service.xml file ?

for example, how to do something like :

<attribute name="usedParams">
  <attribute name="aParam">john</attribute
  <attribute name="aParam">doe</attribute
  <attribute name="aParam">foo</attribute
  <attribute name="aParam">bar</attribute
</attribute>

and to retrieve all "aParam" attributes, according to
the fact that there can be 1-N parameters ?

Does :

/**
 * @jmx.managed-attribute
 */
 public void setUsedParams(String[] params)

is a valid method signature ?


=====
-- 
Regards,
Ionel

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com


-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to