The Selector annotation is used to identify selector annotations.
@Retention(RetentionPolicy.CLASS)
@Target({ ElementType.TYPE, ElementType.METHOD, ElementType.PARAMETER })
@Selector
public @interface MySelector {
...
}
Selectors are particular types of annotations used to annotate bean socket or socket bean in order to filter beans during dependency injection (eg. beans annotated with a particular annotation, beans whose name matches a particular regular expression...).
- Since:
- 1.0
- Author:
- Jeremy Kuhn