문서의 이전 판입니다!
@PostConstruct
@PreDestroy
InitializingBean
DisposableBean
@Bean(initMethod=“”, destroyMethod=“”)
BeanNameAware
ApplicationContextAware
<dependency> <groupId>javax.annotation</groupId> <artifactId>javax.annotation-api</artifactId> <version>1.3.2</version> </dependency>