1 Reply Latest reply on Oct 30, 2003 10:57 AM by Elias Ross

    Hide some attributes

    juraj Newbie

      Hi,

      is there a possibility to hide some attributes of a MBean in the webconsole? I have a sub-class from the timer MBean and want to hide the Timer-MBean methods.

      Thanks.

        • 1. Re: Hide some attributes
          Elias Ross Master


          I would suggest using an XMBean and customize the deployment descriptor, only exposing the methods you want exposed.

          Another way would be to write a wrapper class that delegates calls to the timer.

          Another possible way would be to have your MBean interface *not* inherit from the timer interface. I don't know if that works, however.