Package org.infinispan.factories.scopes
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 theScopes.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:
Scopes
-
-
Element Detail
-
value
Scopes value
-
-