0 Replies Latest reply on Jul 16, 2008 3:25 PM by Oscar cs

    HASingleton dependency

    Oscar cs Newbie

      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