- 
        1. Re: XMBean with String[] attributeadrian.brock Apr 24, 2003 3:13 PM (in response to ejain)You have to the jvm name for String[] 
 [Ljava.lang.String;
 See the javadocs for Class.getName();
 Regards,
 Adrian
- 
        2. Re: XMBean with String[] attributeejain Apr 25, 2003 6:07 AM (in response to ejain)Thanks, but the problem is still there. Only if I change the code and descriptor to use a java.lang.String instead of an array does everything works fine. 
 Are there any examples of MBeans provided by JBoss that have array type attributes? Couldn't find any...
- 
        3. Re: XMBean with String[] attributeadrian.brock Apr 25, 2003 8:12 AM (in response to ejain)This is one from the testsuite 
 <![CDATA[Describe getPhoneNumbers method here.
 read-write attribute]]>
 PhoneNumbers
 [Ljava.lang.String;
 Regards,
 Adrian
- 
        4. Re: XMBean with String[] attributeejain Apr 26, 2003 8:58 AM (in response to ejain)Thanks a lot, I had missed the semicolon... Should probably switch to the version of XDoclet provided with JBoss, anyways... 
 Related question: Is there any way to set String[] attributes from a jboss-service.xml (property editor)?
- 
        5. Re: XMBean with String[] attributeadrian.brock Apr 28, 2003 12:20 PM (in response to ejain)This was fixed in jboss3.2 very recently 
 http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/jboss-common/src/main/org/jboss/util/propertyeditor/StringArrayEditor.java
 Regards,
 Adrian
 
    