[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: NPE with new parsing in aop-mc-int tests

alesj do-not-reply at jboss.com
Tue Apr 1 09:32:56 EDT 2008


"adrian at jboss.org" wrote : 
  | What does JBossXB have to do with the following code?
  | 
  |   | KernelDeployment dep = new AbstractKernelDeployment("test");
  |   | dep.setBeans(Arrays.asList((BeanMetaDataFactory) null));
  |   | 
  | which produces the same error.
Good point. :-)

I'll fix/handle this together with this:
"adrian at jboss.org" wrote : 
  | "adrian at jboss.org" wrote : 
  |   |  | Then in the part where the deployment/bean are checked for classloader
  |   |  | AbstractKernelDeployer::deploybean()
  |   | 
  | 
  | While I am on this subject.
  | 
  | I originally put all the deployment defaults in this method, but other
  | defaults have been added in the AbstractKernelDeployment::getBeans().
  | 
  | I think the AbstractKernelDeployment is the correct place for this code,
  | so we should look at moving all the logic that is AbstractKernelDeployer::deployBean()
  | into there.
  | 
  | Especially since the AbstractKernelDeployer is not always used,
  | e.g. the BeanMetaDeployer in the deployers project.
  | 

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

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



More information about the jboss-dev-forums mailing list