[jboss-user] [Management, JMX/JBoss] - Re: Lookup Singleton MBean
niefeng
do-not-reply at jboss.com
Tue Jun 12 09:08:57 EDT 2007
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#4053529
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053529
More information about the jboss-user
mailing list