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.

    Manik Surtani
    See Also:
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      Scopes value