[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: New Lifecycle aspects is wrong
kabir.khan@jboss.com
do-not-reply at jboss.com
Mon Jun 4 04:47:33 EDT 2007
Lifecycle callback aspects have been redone. They are now configured via DependencyInfo rather than via BeanMetaData. The aspect install/uninstall methods now take a ControllerContext instead of a KernelControllerContext, and the calls to the chain are driven by AbstractController rather than KernelControllerContextAction.
It seems a bit weird that getMetaData() only exists in "POJO mode" (in KernelControllerContext) so that lifecycle callback aspects need to cast the ControllerContext to KernelControllerContext if they want to access the metadata (e.g. JMXLifecyleCallbacl). But then again I guess not all types of context will have metadata?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050844#4050844
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050844
More information about the jboss-dev-forums
mailing list