Annotation Type Bean


  • @Target(METHOD)
    @Retention(RUNTIME)
    public @interface Bean
    컴포넌트 클래스 안의 메서드에 선언하여 해당 메서드의 반환 값을 빈으로 만든다.