Annotation Type Scope


@Retention(CLASS) @Inherited 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 is inherited so that the annotation processor can find subclasses. Although annotating interfaces is allowed, it is preferable to annotate only classes.

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

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details