protected < T > T initialize ( final T object , final Map < ? , ? > parameters ) { if ( object instanceof ParameterizedInitable ) { ( ( ParameterizedInitable ) object ) . init ( parameters ) ; return object ; } else { return initialize ( object , parameters . values ( ) ) ; } }
Initializes the object with the specified Map of named parameters providing the object implements the ParameterizedInitable interface otherwise delegates to the initialize method accepting an array of arguments by passing the values of the Map as the argument array .