EnableAutoConfiguration
우리가 필요할 것 같은 빈들을 자동으로 설정해주는 자동 설정 기능을 활성화하는 애노테이션이다 자동 설정을 적용할 클래스 선별은 AutoConfigurationImportSelector가 처리해준다. 이때 특정 클래스를 설정으로 추가하는 @Import를 통해 해당 클래스를 추가해준다. 즉, @EnableAutoConfiguration을 붙이면 ...
우리가 필요할 것 같은 빈들을 자동으로 설정해주는 자동 설정 기능을 활성화하는 애노테이션이다 자동 설정을 적용할 클래스 선별은 AutoConfigurationImportSelector가 처리해준다. 이때 특정 클래스를 설정으로 추가하는 @Import를 통해 해당 클래스를 추가해준다. 즉, @EnableAutoConfiguration을 붙이면 ...
@Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) @Documented @Inherited @SpringBootConfiguration @EnableAutoConfiguration @ComponentScan(excludeFilters = {@Filter(type = FilterType.CUS...
Spring에는 Annotation에 대한 기능을 다양하게 제공한다. 예를 들어 @Controller, @Service, @Repository 등이 있다. Annotation은 각 기능에 필요한 만큼 기능을 가지고 있으며, 이러한 내용을 잘 알지 못해도 필요한 기능만 쉽게 사용할 수 있도록 제공된다. 하지만 개발을 하다 보면 이를 만드는 프로그램...
//@ComponentScan에 중첩 클래스로 있다 @Retention(RetentionPolicy.RUNTIME) @Target({}) @interface Filter { /** * The type of filter to use. * <p>Default is {@link FilterType#ANNOTATION}. * ...
Entity
자바란 무엇인가
public interface Filter { /** * Called by the web container to indicate to a filter that it is being * placed into service. The servlet container calls the init method exactly * once af...
자기소개