[jboss-user] [Clustering/JBoss] - HASingleton dependency

oscarcs do-not-reply at jboss.com
Wed Jul 16 15:25:42 EDT 2008


Hi all.

I am using HASingletonDeployer,type=Barrier to deploy a service that loads certain files in the database on JBoss startup (in the start method of the MBean). I want this to be done in one member only. 

Then, i have another mbean deployed normally in each member that uses the data inserted by the first one, so i want them to be started in each member after the HASingleton finished the start method.

Is there any way to stablish a dependency on a HSingleton MBean for non singleton MBeans deployed in all the members?

If not, is there any way to do it using notfications so i could sleep the MBeans till receiving it?

Thanks in advance,

Oscar

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

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



More information about the jboss-user mailing list