[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Using ClassInfo in JBoss AOP
stale.pedersen@jboss.org
do-not-reply at jboss.com
Wed Jan 7 08:06:16 EST 2009
ok, so we will get around the problem with package restricted constructors by using reflection.
what we're doing now is that the Class clazz parameter that is defined in JavassistTypeInfo is never instantiated (eg always null) and we use the CtClass object where clazz earlier where used in JTIFactoryImpl.
if we disregard the deprecated public method JavassistTypeInfo.getType(), clazz isnt use at all in JavassistTypeInfo except when throwing an exception in the getSuperclass() method (which could/should be changed to CtClass anyway imo).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200077#4200077
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200077
More information about the jboss-dev-forums
mailing list