5 Replies Latest reply on Apr 28, 2003 12:20 PM by Adrian Brock

    XMBean with String[] attribute

    Eric Jain Newbie

      If I try to deploy an XMBean that contains a String[] attribute ("Services"), I get a "javax.management.IntrospectionException: no getter method found for attribute: Services"

      The get/set methods are properly implemented:

      [pre]public String[] getServices()
      {
      return services;
      }

      public void setServices(String[] services)
      {
      this.services = services;
      }[/pre]

      ...and the XML descriptor looks fine, too:

      [pre]
      Registered services.
      Services
      java.lang.String[]
      [/pre]

      The MBean works fine, otherwise. Any ideas what's going wrong here?