[jboss-user] [Microcontainer] - Re: Emulating ServiceMBeanSupport

genman do-not-reply at jboss.com
Mon Jul 23 15:24:43 EDT 2007

"alesj" wrote : 
  | All of the state management is handled by MC, ServiceController is just a facade over MC - see actual code for more details: http://anonsvn.jboss.org/repos/jbossas/trunk/system-jmx/src/main/org/jboss/system/ServiceController.java

What I see doesn't seem to be a light facade. The old states are really independent from the new ones. The new ones don't match exactly to the old, which means the ServiceController has to track state separately in a ServiceContext object. There's a bit of book keeping involved. I could probably live with the new state list, though it's a little odd the state names don't correspond to the methods that are actually called during the transitions.

anonymous wrote : You can always check the current execution stack. :-)

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

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

More information about the jboss-user mailing list