[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Scoped Kernels

alesj do-not-reply at jboss.com
Mon Feb 19 05:56:58 EST 2007


On the uninstall:

  |    public void undeploy(DeploymentUnit unit, BeanMetaData deployment)
  |    {
  |       controller.uninstall(deployment.getName());
  |    }
  | 

How to get to the Scoped controller that holds the actual ControllerContext?
Look in the current controller if the context is there and uninstall it, else go to child controllers and call the uninstall on them - the one that returns non-null is the one that unistalled the context?

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

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



More information about the jboss-dev-forums mailing list