■ 스프링 #6. Custom Annotation ● Annotation Custom Annotation을 생성하는 방법에 대해서 정리해보겠습니다. 먼저 Annotation이란 무엇인지 간단히 정의하면 사전적의미로는 '주석'이라는 뜻입니다. 즉, 코드에 주석처럼 달아주어 특정한 의미를 부여해준다고 보시면 됩니다. 보통 @Controller와 같이 미리 정의된 Annotation을 많이 사용하는데요. 사용자가 필요에 의해 직접 Annotation을 추가할 수도 있습니다. ● Custom Annotation 간단하게 보면 아래와 같은 형태를 가집니다. @Target(ElementType.METHOD) @Retention(RetentionPolicy.Runtime) public @interface MyAnno..