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

scott.stark@jboss.org do-not-reply at jboss.com
Wed May 20 15:51:09 EDT 2009


So the answer is yes, and the current BasicKernelBus implementation that the KernelBusRuntimeComponentDispatcher uses has caused an issue described in https://jira.jboss.org/jira/browse/JBAS-6960.

The problem is that once a stop has been issued to a component, its no longer in the installed state and an attempt to call start on the component fails because the BasicKernelBus.execute method is only looking for installed contexts.

We have not properly considered invoking operations that correspond to lifecycle operations. We need to decide how allow for exposed lifecycle operations to be used.

Right now we can know whether a ManagedOperation has been tagged as a lifecycle operation, but there is no information about what context state transition it applies to.


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

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



More information about the jboss-dev-forums mailing list