This content has been marked as final.
Show 3 replies
-
1. Re: Service mbean annotations
alesj Jul 20, 2007 1:11 AM (in response to starksm64)I guess we'll probably need the same thing for MC's POJOs?
I'm about to start with annotation features support for BeanMetaData.
Once you're done with this, I can port your work to POJOs as well. Or how did you mean to handle this on POJO side? -
2. Re: Service mbean annotations
adrian.brock Jul 20, 2007 7:07 AM (in response to starksm64)You need to fix the ServiceAnnotationMetaData such that it passes in the
classloader (it should use the classloader of the MBean).
This is similar to what I asked Kabir to fix for the pojo annotations:
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas?view=rev&revision=64114 -
3. Re: Service mbean annotations
alesj Jul 20, 2007 9:33 AM (in response to starksm64)"adrian@jboss.org" wrote:
You need to fix the ServiceAnnotationMetaData such that it passes in the
classloader (it should use the classloader of the MBean).
I've added the ClassLoader parameter, but I'm unable (*) to find any concrete usage (apart from testcase) of ServiceAnnotationMetaData.getAnnotationInstance() to pass in MBean's classloader.
* - IDEA's support for Eclipse's .classpath or .project sucks ;-)