@PostConstruct注解标注的方法(JSR250)实现InitializingBean接口的afterPropertiesSet方法(Spring的接口)使用@Bean注解属性initMethod自定义的方法(Spring提供)