Are there restrictions on JMX operation return types? Probably an RTFM solution 
but nothing jumped out at me. Got this error deploying.  String array also 
croaked.

Exception: ...
Caused by: java.lang.IllegalArgumentException: Return type is not a valid java 
identifier (or is reserved): Foo[]


/*
 * @jmx.managed-operation impact="ACTION" description="Foo"
 * 
 * @return Foo array
 */
public Foo[] generateFoo() {    ... }


       Foo
       generateFoo
       <return-type>Foo[]</return-type>
        
 






View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854538#3854538

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854538


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to