code: public static void initialize(Object instance, Map namedArgs) {
          PersistentEntity dc = getDomainClass(instance);
          if (dc == null) {
              DataBindingUtils.bindObjectToInstance(instance, namedArgs);
          }
          else {
              DataBindingUtils.bindObjectToDomainInstance(dc, instance, namedArgs);
              DataBindingUtils.assignBidirectionalAssociations(instance, namedArgs, dc);
          }
          autowire(instance);
      }
docs: A map based constructor that binds the named arguments to the target instance
  
  @param instance The target instance
  @param namedArgs The named arguments