2 Replies Latest reply on May 11, 2003 6:13 PM by Adrian Brock

    Bug with MBeanServer/Info ?

    erlendjboss Newbie

      Hi there!

      I guess it's not a bug, but I realy don't understand where is the rest of the Scheduler methods are ???

      Maybe it just me that have missed something basic about this :-)

      When I tries to print out the Scheduler (looked up via the MBeanServer) methods I only get printed stopSchedule, start, stop, startSchedule, destroy, restartSchedule, create, but where is setSchedulePeriod, getSchedulePeriod, isActive
      etc the org.jboss.varia.scheduler.Scheduler has ?

      In the attached file you will find a short version of some code trying to print out the methods of the Scheduler MBean I'm looking up (as far as I have understood it)

      Could anyone give me a few tips if I have missunderstood

        • 1. Re: Bug with MBeanServer/Info ?
          erlendjboss Newbie


          I didn't end/fullfill the previous post... When adding the attachment I was hitting the wrong button :-)

          anyway .... if there is not a bug, could anyone tell me what I have completely missunderstood about this ?
          (Why I only see those few methods of the Scheduler object when I excpect those other once too you find the in the documentation of the org.jboss.varia.scheduler.Scheduler object)

          Thank you for your help!

          Best regards,
          Erlend Bjørge

          • 2. Re: Bug with MBeanServer/Info ?
            Adrian Brock Master

            Each MBean chooses which methods are
            exposed for management and which are
            for internal use.

            This is controlled by the management interface.
            which in this case is generated by xdoclet
            from the tags