Annotation Type Scope


  • @Retention(RUNTIME)
    public @interface Scope
    Defines the scope of a component in a cache system. If not specified, components default to the Scopes.NAMED_CACHE scope.

    Note: The Scope annotation should be present on the implementation class, and if an interface has the annotation it should have the same value. In the future, annotations on interfaces and superclasses will be ignored.

    Since:
    4.0
    Author:
    Manik Surtani
    See Also:
    Scopes
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      Scopes value