"kabir.khan(a)jboss.com" wrote : Is this a standalone example?
|
Yes.
See my MC demos project:
-
http://anonsvn.jboss.org/repos/jbossas/projects/demos/microcontainer/trunk/
"kabir.khan(a)jboss.com" wrote :
| How can I get the classloader for the aspect? Should I be adding ClassLoaderMD to the
BMD on deployment?
|
This is already done in BeanMetaDataDpeloyer - if not explicitly set.
Also, this could be the workaround
| <interceptor xmlns="urn:jboss:aop-beans:1.0"
name="StopWatchInterceptor"
class="org.jboss.demos.ioc.annotations.StopWatchInterceptor">
| <classloading><inject
bean="jboss-demos-ioc:0.0.0"/></classloading>
| </interceptor>
|
If it wasn't for this issue:
-
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=144593
"kabir.khan(a)jboss.com" wrote :
| Once this is this done, I should probably call the wrapped
BeanFactory.getClassLoader() from GenericBeanAspectFactory?
Yeah, probably something like that - perhaps pushing the CL that BMDD sets also to the
GenericBeanAspectFactory --> its underlying GenericBeanFactory.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184896#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...