This content has been marked as final.
Show 2 replies
-
1. Re: Lookup Singleton MBean
niefeng Jun 12, 2007 9:08 AM (in response to niefeng)Ops, forgot to mention the jboss version i am running. The version is 4.05 GA.
The following is the mbean configuration file<mbean code="test.ASingletonService" name="jboss.test:service=ASingleton"> </mbean> <mbean code="org.jboss.ha.singleton.HASingletonController" name="jboss:service=HASingletonControllerMBean"> <depends>jboss.test:service=ASingleton</depends> <depends>jboss.ha:service=HASingletonDeployer,type=Barrier</depends> <attribute name="TargetName">jboss.test:service=ASingleton</attribute> <attribute name="TargetStartMethod">startASingleton</attribute> <attribute name="TargetStopMethod">stopASingleton</attribute> </mbean>
Thanks ! -
2. Re: Lookup Singleton MBean
niefeng Jun 12, 2007 8:22 PM (in response to niefeng)Hi all,
I have searched the answer in the jboss clustering forum, thanks