Hi CGJ,
I think your problem is attributes.
JBossMX doesn't support invocations like
server.invoke(myObjectName, "getAttribute",
new Object[0], new String[0]);
You should use server.getAttribute("Attribute") instead.
The RI for jmx1.0 allows the invoke, but it will be
gone with jmx1.1. It was a bug.
Sorry, I didn't spot your MBeanProvider, I used grep for
\"get and \"set
You might want to look at the code in
common/src/main/org/jboss/util/jmx/MBeanProxy.java
for interface based access to an MBean.
But it might be a bit slow retrieving this information
on the fly.
Regards,
Adrian
> Hi Adrian,
>
> Just a quick feedback. Compilation is ok, most stuff
> runs fine and faster
> ;-)
>
> >From what I saw, the reflection of the Mbean
> interfaces in jboss-jmx seems
> to differ from jmxri.jar ...
>
> Because I use to define first client-side (non-Mbean)
> interfaces from which
> the Mbean interfaces are extended, I know run
> into ReflectionException(NoSuchMethodException) when
> trying to invoke those
> methods via MBeanServer.invoke
>
> I have to check how to work-around this issue. I have
> no idea what the spec
> says to this pattern.
>
> Best,
> CGJ
>
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-dev
> lopment
_________________________________________________________
View thread online: http://main.jboss.org/thread.jsp?forum=66&thread=11954
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development