com.google.inject

Annotation Type ScopeAnnotation



  • @Target(value=ANNOTATION_TYPE)
     @Retention(value=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, METHOD)
        @ScopeAnnotation
       public  @interface SessionScoped {}
     
    Author:
    crazybob@google.com (Bob Lee)

Copyright © 2006–2018 Google, Inc.. All rights reserved.