1 Reply Latest reply on Jun 9, 2004 6:09 PM by julien1

    MBean constructor question.

    guava

      Hi,

      Is there anyway to create MBean using a constructor that takes arguments? It seems to me that JBoss JMX takes default constructor to create MBean.

      Thanks.

        • 1. Re: MBean constructor question.

          you mean MBean service ? if yes you can use something like :

          ...
          <mbean code="blah" name="jboss:foo=bar">
           <constructor>
           <arg type="boolean" value="true"/>
           </constuctor>
          </mbean>
          ...