[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Bean instantiate order with contextual injection

alesj do-not-reply at jboss.com
Wed Aug 16 16:14:31 EDT 2006


"adrian at jboss.org" wrote : "alesj" wrote : 
  |   | But how to get the actual class - where to get ClassLoader?
  | 
  | Why do you need the classloader? You should be using the 
  | BeanInfo/TypeInfo.

What's the use of BeanInfo/TypeInfo when I need an actual class from parameters type definition / collections element class type definition / map's value type definition?

Isn't 

  | KernelControllerContext context = visitor.getControllerContext();
  |          ClassLoader cl = Configurator.getClassLoader(context.getBeanMetaData());
  | KernelConfiguration configuration
  | 
  | KernelConfigurator.getClassInfo(String className, ClassLoader cl) throws Throwable;
  | 
what results in what I want, if className exists?

What's the deal with ClassContextKernelRegistryPlugin?
Where to register/define it, so it doesn't 'polute' AbstractKernelController?



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965575#3965575

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



More information about the jboss-dev-forums mailing list