Top Description Methods
com.google.inject

public @Interface ScopeAnnotation

extends Annotation
Annotations
@Target:ANNOTATION_TYPE
@Retention:RUNTIME
Static Imports
java.lang.annotation.ElementType.ANNOTATION_TYPE, .RetentionPolicy.RUNTIME

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, METHOD)
  @ScopeAnnotation
  public @interface SessionScoped {}
Author
[email protected] (Bob Lee)

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString