I guess we never tested this - beanfactory having no class/bean set.
Since this code woudn't work then. ;-)
| public Object createBean() throws Throwable
| {
| ClassLoader cl = Configurator.getClassLoader(classLoader);
| BeanInfo info = configurator.getBeanInfo(bean, cl);
|
Eventually TypeInfoFactory throws this:
| public TypeInfo getTypeInfo(String name, ClassLoader cl) throws
ClassNotFoundException
| {
| if (name == null)
| throw new IllegalArgumentException("Null class name");
|
But if bean exists, I can then probably try to impl my annotation support on that ...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070639#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...