반응형

@PostConstruct 어노테이션 설정해놓은

init 메소드는 WAS가 올라갈때 실행된다. 


 

    @PostConstruct
    private void init() {
        log.info("@PostConstruct ------ WAS 올라갈때 실행");
    }

 

 

출처 https://javaslave.tistory.com/48

반응형

+ Recent posts