• Image placeholder
  • 홈 페이지
  • 블로그 센터
  • 범주
Image placeholder

PostConstruct

Spring @PostConstruct @PreDestory

객체의 생성되고 별도의 초기화 작업이 필요한 경우 해당 어노테이션 선언후 메소드 선언 @PostConstruct 어노테이션을 설정해놓은 init 메소드는 WAS가 띄워질 때 실행 스프링 컨테이너에서 객체를 제거하기 전 작업이 필요하다면 어노테이션 사용 후 메서드 선언...

PostConstructPreDestroyJavaannotationSpring bootSpringJava

© 2022 intrepidgeeks.com

Privacy Policy Contact US Sitemap
🍪 This website uses cookies to ensure you get the best experience on our website. Learn more