Codekrypt依赖注入器 特征 支持使用@Autowire和@Qualifier现场注入 支持@PostConstruct 用法 HornAirImp.java @Component public class HornAirImpl implements Horn { @Override public void honk () { System . out . println( " Air Horn Implementation called. " ); } @PostConstruct public void postConstruct () { System . out . println( " Air Horn Initialized. " ); } } 汽车.java @Component public class Car {