[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Lifecycle aspects revisited

adrian@jboss.org do-not-reply at jboss.com
Tue Mar 27 10:34:30 EDT 2007


That's the same question that Ales has. :-)

In practice, only AbstractControllerContext defines a per state callback.
MC -> AbstractControllerContext -> ControllerContextAction

The default implementation is to callback on the ControllerContext,

i.e. the last step is necessarily going to happen if the context implementation
does not extend AbstractControllerContext.

I'm arguing that the lifecycle callbacks should apply to at least all 
AbstractControllerContext implementations, not just POJO.

Ales thinks that ControllerContextAction should be part of the API so it would
apply everywhere?

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

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



More information about the jboss-dev-forums mailing list