[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: ClassPool for JBoss Reflection
flavia.rainone@jboss.com
do-not-reply at jboss.com
Tue Jul 14 10:56:09 EDT 2009
"Kabir" wrote : Do you mean this:
|
| | protected boolean convertReferences(CtClass clazz, ClassAdvisor clazzAdvisor) throws Exception
| | {
| | boolean converted = false;
| | String ref = null;
| | try
| | {
| | AOPClassPool pool = AOPClassPool.createAOPClassPool(clazz.getClassPool(), AOPClassPoolRepository.getInstance());
| |
| It is something I've always assumed was there for a reason and taken for granted since it has been there since before my time. However, all that seems to do is to delegate to the parent classpool so maybe it can be removed and clazz.getClassPool() can be used?
I'll test that and see what happens.
"Kabir" wrote :
| It looks like StandaloneClassPool(Factory) is used when run standalone, i.e. in the testsuite. But that can maybe live in AOP?
Yes, that's what I'm thinking. The whole point here is that if JBoss Reflection is used with a standalone application, the javassist ClassPool can be used.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4243558#4243558
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4243558
More information about the jboss-dev-forums
mailing list