Spring Annotation
์ปดํฌ๋ํธ ์ค์บ๊ณผ ์๋ ์์กด๊ด๊ณ ์ค์
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface Controller {
/**
* The value may indicate a suggestion for a logical component name,
* to be turned into a Spring bean in case of an autodetected component.
* @return the suggested component name, if any (or empty String otherwise)
*/
@AliasFor(annotation = Component.class)
String value() default "";
}์์ ์ฝ๋
์๋ฐ ์ฝ๋๋ก ์ง์ ์คํธ๋ง ๋น ๋ฑ๋กํ๊ธฐ
์ธ์ ์ฌ์ฉํด์ผํ ๊น?
Last updated