0 Replies Latest reply on Nov 2, 2013 4:46 AM by execretor

    Control multiple OSGI deploy

    execretor Newbie

      Hi, i have a problem with the deploy of some OSGI bundles.


      Every bundle must do something (load configuration, data elaboration....) before allowing others to start.

      I cannot add my bundles to standalone.xml. They must be deployed.



      How can i control the deploy order and time?




      bundle1 -----> onStart ----> create load thread ---> onStart termination

      bundle2 -----> onStart-----> wait for bundle1 load thread termination ----> onStart termination