[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Shutdown of controller

alesj do-not-reply at jboss.com
Tue Jun 5 10:59:03 EDT 2007


"adrian at jboss.org" wrote : I've added a Controller.shutdown()
  | which is a feature missing from the old ServiceController.
  | 

I think you've got a type here:

  |          for (int i = states.size()-1; i>=0; --i)
  |          {
  |             ControllerState state = states.get(i);
  |             result.addAll(contextsByState.get(state));
  |             result.addAll(errorContexts.values());
  |          }
  | 
Probably adding errorContexts at the end, outside loop? ;-)

"adrian at jboss.org" wrote : 
  | Ales, can you check the child controller shutdown code is ok?
It looked OK when I looked it before this post, but I'll check again. :-)

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

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



More information about the jboss-dev-forums mailing list