AttributeDescriptor[] attributeDescriptors =
typeDescriptor.getAttributeDescriptors();
context.populateAttributes(attributeDescriptors, attributes);
if (log.isTraceEnabled()) {
log.trace("Created bean " + instance);
}
// add bean for ID matching
if (context.getMapIDs()) {
// XXX need to support custom ID attribute names