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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...