modify spring bean init type

modify spring bean init type