All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.factories.scopes.Scope Maven / Gradle / Ivy

There is a newer version: 15.1.0.Dev04
Show newest version
package org.infinispan.factories.scopes;

import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * Defines the scope of a component in a cache system.  If not specified, components default to the {@link
 * Scopes#NAMED_CACHE} scope.
 *
 * 

Note: The {@code Scope} annotation is inherited so that the annotation processor can find subclasses. * Although annotating interfaces is allowed, it is preferable to annotate only classes.

* * @author Manik Surtani * @see Scopes * @since 4.0 */ @Retention(RetentionPolicy.CLASS) @Inherited public @interface Scope { Scopes value(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy