1 Reply Latest reply on Oct 20, 2003 4:54 AM by Juha Lindfors

    getting attributes in MBean

    vit Newbie

      Hi,

      I've got JBoss 3.0.8. I'm stuck on finding out how to get an attribute in MBean if I specified it by node in jboss-service.xml.

      I have a working example when JNDI name specified in jboss-service.xml:



      inmemory/maps/MapTest
      jboss:service=Naming



      is received in corresponding MBean with setJndiName(String jndiName) method. How would I get just general string attribute?

      Thanks!