"flavia.rainone(a)jboss.com" wrote :
| On AS5, I see that the JBoss5ClassPoolFactory is the default factory used if there is
no class pool defined.
| At Branch5_x. I see that the classpool factory is defined as
JBossClDelegatingClassPoolFactory. So, is JBoss5CPF ever used?
JBoss5CPF is the old class pool factory that was used before the new
XXXXDelegatingClassPools.
"flavia.rainone(a)jboss.com" wrote :
| Another question, I didn't get what is TempClassPool for (except for the convert
references part) and when is it used.
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?
"flavia.rainone(a)jboss.com" wrote :
| Before creating this project... Will be there a need for a StandaloneClassPool, Kabir?
I don't think so, but I would like to confirm. If the class pools are tied in to
JBoss, I'll create a jboss-classpool project, so we can make clear that it is jboss
as-related only.
|
It looks like StandaloneClassPool(Factory) is used when run standalone, i.e. in the
testsuite. But that can maybe live in AOP?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4242888#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...