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 ) ; }
A map based constructor that binds the named arguments to the target instance