[ http://jira.jboss.com/jira/browse/JBJMX-88?page=history ]
     
Adrian Brock closed JBJMX-88:
-----------------------------

    Resolution: Won't Fix

Use the class name not the string from the programming language:
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Class.html#getName()

server.invoke(,,, new String[] { Integer.TYPE.getName()) };
or 
server.invoke(,,, new String[] { "I" };

NOT
server.invoke(,,, new String[] { Integer.class.getName()) };
NOT
server.invoke(,,, new String[] { "int" };

I don't know how many times I have answered this question in the forums,
but it is a lot!!!!

> Support primitive types
> -----------------------
>
>          Key: JBJMX-88
>          URL: http://jira.jboss.com/jira/browse/JBJMX-88
>      Project: JBoss JMX
>         Type: Bug
>     Versions:  JBossAS-4.0.1
>     Reporter: Michael Kopp

>
>
> If I have a property/parameter with type 'int' I have to pass it as Integer 
> into the setAttribute/invoke method. nevertheless, the correct method should 
> be found.
> That does not happen right now!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to