Whiteship
  • Home
  • 인프런 강의
  • Java
  • Spring
  • JPA
  • SDE Tips
Subscribe

destroy-method

A collection of 1 post
destroy-method

init-method & destroy-method

dk78.bmp [http://whiteship.me/wp-content/uploads/1/dk78.bmp]이 전 글에서 사용한 방식으로 Bean의 LifeCycle에 끼어들 수도 있지만 InitializingBean이나 DisposableBean과 같은 Spring 프레임웤 소스에 종속성이 생기게 됩니다. 태그의 init-method 와 destroy-method 속성을 이용하여 initializingBean과 DisposableBean을 대체 할 수 있습니다. 1. 초기화 메소드와 소멸자 메소드 이름을 마음대로 정할 수
Mar 10, 2007 — 1 min read
Whiteship © 2022
Powered by Ghost