2 Replies Latest reply on Jul 16, 2004 2:06 AM by Setya Setya

    Question on this MBean Service

    Setya Setya Newbie

      Hi all,

      I have defined the following service in user-service.xml :

      <mbean code="com.Foo" name="Company:Service=Foo">
       <attribute name="ID">Foo</attribute>
       <attribute name="Key">
       <property name="Index" value="1"/>
       <property name="Caption" value="Bar"/>

      I don't have problem retrieving the value of attribute "ID", but how to get the value of sub elements of "Key" ? I tried to define getter and setter for "Index" and "Caption" but the value is not delivered.

      Any help would be greatly appreciated.