다듬거나 나누거나

  • 홈
  • 태그
  • 방명록

어노테이션 1

어노테이션(Annotation)

안녕하세요. 이번 글은 자바의 어노테이션에 관한 내용입니다. 자바의 코드를 보다보면 @가 붙은 내용들이 간혹 눈에 보이실텐데요. 이것이 어노테이션입니다. 어노테이션의 기본적인 목적은 자바의 메타데이터[각주:1]로 사용하기 위함입니다. 어노테이션 작성법은 '접근 제한자 @interface 어노테이션명 { 내용 }'입니다. 다른 용도로도 많이 사용합니다만 예제에서는 메타데이터 용도만 살펴보겠습니다. 이제 예제로 만든 어노테이션을 통해 사용법을 알아보도록 하죠. 1. CustomAnnotation package com.tistory.sunimohs.study; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; imp..

프로그래밍/Java 기초 2017.10.13
1
더보기
프로필사진

  • 분류 전체보기
    • 프로그래밍
      • Java 기초
      • JSP, Servlet
      • Spring
      • Android
      • Library
    • SQL
      • MySQL

Tag

제네릭, Profiles, UsernamePasswordFilter, 컬렉션, Spring, variables, Spring Security, 어노테이션, Generics, Java, CustomUsernammePasswordFilter, Annotation, Colllections, call by value, call by reference, 변수, Spring Framework, 자바, Interface, maximumSessions,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/06   »
일 월 화 수 목 금 토
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바