[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: FYI: Latest ClassInfo changes.
adrian@jboss.org
do-not-reply at jboss.com
Tue Feb 6 12:49:34 EST 2007
That doesn't look very good.
You don't want to invoke a static method on a bean by mistake.
I'd rather see it search for a static method only if the "bean" parameter is null.
But then these methods should really be throwing an exception if you pass a null bean.
If you really want to invoke a static method, you should be using
beanInfo.getClassInfo() since you are no longer in the bean abstraction.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012056#4012056
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012056
More information about the jboss-dev-forums
mailing list