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 !
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053529#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...