9 Replies Latest reply on Feb 14, 2012 10:18 PM by jaikiran pai

    <mbean> optionally <depends> on another <mbean>

    jaabax Newbie


      I have an mbean declared as the following in my jboss-service.xml:



      <mbean code="com.mbean.MyBootstrap" name="service.server.monitor:service=MyBootstrap">





      but I want that OPTIONALMBean be optional

      this means that: if OPTIONALMBean is not on the another SAR that I've placed it in, I want that MyBootstrap works normally

      how can I achieve this?


      thanks in advance