[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Does KernelBusRuntimeComponentDispatcher handle lifecycl

scott.stark@jboss.org do-not-reply at jboss.com
Thu May 21 16:39:00 EDT 2009


"alesj" wrote : 
  | If I understand the question right, the answer should be _no_.
  | 
  | As apart from invoking that property/attribute or method/operation,
  | we don't do anything extra wrt dependencies.
  | It might be an impl detail of the service you're invoking,
  | 
It must be the component context then as the component is being moved out of the installed state.

"alesj" wrote : 
  | But it shouldn't be too big of a problem to properly react to lifecycle methods/ops.
  | Since all the info we need is already in underlying Bean/ServiceMetaData,
  | we would only require additional abstraction on top of InvokeDispatchContext.
  | 
  | e.g. do start
  | KernelControllerContext --> BeanMetaData --> Start LifecycleMetadata
  | * if already past start == ignore
  | * else try to move to Start state, (optionally) fail if not being able to get there
Ok, that is what we need.


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

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



More information about the jboss-dev-forums mailing list