code: public AttributeConfig_2[] get_attribute_config_2(final String[] names) throws DevFailed,
  	    SystemException {
  	Util.out4.println("Device_2Impl.get_attribute_config_2 arrived");
  
  	// Allocate memory for the AttributeConfig structures
  	int nb_attr = names.length;
  	boolean all_attr = false;
  
  	// Record operation request in black box
  	blackbox.insert_op(Op_Get_Attr_Config_2);
  
  	// Get attribute number
  	final int nb_dev_attr = dev_attr.get_attr_nb();
  
  	// Check if the caller want to get config for all attribute
  	final String in_name = names[0];
  	if (nb_attr == 1 && in_name.equals(Tango_AllAttr)) {
  	    nb_attr = nb_dev_attr;
  	    all_attr = true;
  	}
  
  	final AttributeConfig_2[] back = new AttributeConfig_2[nb_attr];
  	// Fill in these structures
  	for (int i = 0; i < nb_attr; i++) {
  	    if (all_attr == true) {
  		final Attribute attr = dev_attr.get_attr_by_ind(i);
  		back[i] = attr.get_properties_2();
  	    } else {
  		final Attribute attr = dev_attr.get_attr_by_name(names[i]);
  		back[i] = attr.get_properties_2();
  	    }
  	}
  
  	Util.out4.println("Leaving Device_2Impl.get_attribute_config_2");
  
  	return back;
      }
docs: --------------------------------------------------------------------------