[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Using ClassInfo in JBoss AOP
stale.pedersen@jboss.org
do-not-reply at jboss.com
Mon Jan 5 19:43:16 EST 2009
from what i can see in JavassistTypeInfoFactoryImpl and JavassistTypeInfo the usage of java.lang.Class isnt very extensive.
in JavassistTypeInfoFactoryImpl.instantiate it is used to check classtype, but we can use the CtClass object for that instead.
JavassistTypeInfo has one public method that uses java.lang.Class (getType), but that is deprecated and the other uses can be replaced by using the CtClass object.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199649#4199649
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199649
More information about the jboss-dev-forums
mailing list