1 Reply Latest reply on Aug 2, 2002 5:25 AM by Adrian Brock

    Register same MBean under different names?

    Anatoly Akkerman Newbie

      I am wondering whether it is legal (as per spec) to register the same MBean under different ObjectNames. I thought it should but the conditions under which the registerMBean throws InstanceAlreadyExistsException are not very clear to me. What does it mean that it is already 'under control'?

      Quote from the agent specification 1.0
      registerMBean()
      Throws:
      InstanceAlreadyExistsException - The MBean is already under the control of the MBean server.