[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Scoped beans deployment
adrian@jboss.org
do-not-reply at jboss.com
Wed Feb 14 07:43:14 EST 2007
But isn't that something you already started to workaround with the
initial and describe visit?
i.e. The visitor is already in two stages.
It should simply be a case of making sure that the visited metadata uses
the correct controller.
In fact, the problem is where the visitee does
| KernelControllerContext controllerContext = visitor.getControllerContext();
| // Remember in local state
| controller = (KernelController) controllerContext.getController();
|
or similar.
Instead, it should just remember the ControllerContext and ask
for the controller from the context when it needs it.
i.e. the second line should be done lazily
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016339#4016339
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016339
More information about the jboss-dev-forums
mailing list