1 Reply Latest reply on Dec 29, 2004 6:30 PM by genman

    Reading mbean attribute tag

    mgmurray

      I have a standard mbean extending the ServiceMBeanSupport. The jboss-service.xml file initialises some attribute values. The mbean attributes are either set programatically and/or via the JMX console.

      I want to be able to read the original values of the mbean attributes as set in the jboss-service file. Any clues please?

        • 1. Re: Reading mbean attribute tag
          genman



          In JMX:

          jboss.system:service=MainDeployer

          Call "getDeployment" and pass in the URL to the service. It will return a DeploymentInfo object. It contains an XML document that was parsed by JBoss upon deployment to create your MBeans.