Package org.elasticsearch.common.inject
Annotation Type ScopeAnnotation
-
@Target(ANNOTATION_TYPE) @Retention(RUNTIME) public @interface ScopeAnnotation
Annotates annotations which are used for scoping. Only one such annotation may apply to a single implementation class. You must also annotate scope annotations with@Retention(RUNTIME)
. For example:@
Retention(RUNTIME)@
Target(TYPE)@
ScopeAnnotation public@
interface SessionScoped {}