[jboss-user] [Microcontainer] - Re: migrating from ServiceMBeanSupport

jhalliday do-not-reply at jboss.com
Thu Nov 29 08:47:29 EST 2007


> And an example of dependency? 

look at jboss-service.xml in AS trunk and take your pick.


  |    <mbean code="org.jboss.invocation.local.LocalInvoker"
  |       name="jboss:service=invoker,type=local">
  | <depends>jboss:service=TransactionManager</depends>
  |    </mbean>
  | 

> Dunno how lifecycle works if your mbean is not an instance of Service anymore, 

huh? I thought the whole point of MC was that you could use POJOs. Now it appears I have to implement or subclass something? Arggg. How does that leave me any better off than not changing my code at all. I may as well stick with 'extends ServiceMBeanSupport'



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

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



More information about the jboss-user mailing list