3 Replies Latest reply on Mar 15, 2002 7:19 PM by adrian.brock

    MBean Initialization

    fstarsinic

      My Mbean has a method
      getService()

      jboss.jcml has
      <mbean blah blah>
      stuff


      but the bean does not get initialized with the
      data. i had to modify jboss.jcml to use the
      tag instead.

      how/when should the mbean get the attributes
      set properly.

      p.s.
      MBeans kick ass!

      frank

        • 1. Re: MBean Initialization

          You need a setService()

          Regards,
          Adrian

          • 2. Re: MBean Initialization
            fstarsinic

            oops. i meant to say that i have a setService() method as well.

            does this only work with dynamic mbeans?

            by the way, i purchased the JMX book at Border's Books that was written by marc and the jboss group and it also kicks ass.

            • 3. Re: MBean Initialization

              Hi,

              Can you give more details?
              JBoss doesn't use dynamic mbeans, it is mostly
              standard mbeans at the moment - that will change :-).

              There are plenty examples of setting attributes in
              the jboss server.

              I know there is a problem with jmxri not reporting
              attributes as writable, but JBoss has a workaround for
              this.

              Regards,
              Adrian