properties.add(new ASMPropertyImpl(clazz,name));
}
}
ASMProperty[] props = properties.toArray(new ASMProperty[properties.size()]);
String clientClassName=getClientClassName(type);
Pojo pojo;
if(pc==null)pojo = (Pojo) ComponentUtil.getClientComponentPropertiesObject(secondChanceConfig,clientClassName,props);
else pojo = (Pojo) ComponentUtil.getClientComponentPropertiesObject(pc,clientClassName,props);
TypeMappingUtil.registerBeanTypeMapping(tm,
pojo.getClass(),
type.getQName());
return pojo.getClass();
}