[jboss-dev-forums] [Design the new POJO MicroContainer] - Missing BeanFactory with no class usage

alesj do-not-reply at jboss.com
Fri Aug 3 10:46:20 EDT 2007


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#4070639

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070639



More information about the jboss-dev-forums mailing list