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

org.infinispan.cdi.remote.Remote Maven / Gradle / Ivy

package org.infinispan.cdi.remote;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import jakarta.enterprise.util.Nonbinding;
import jakarta.inject.Qualifier;

/**
 * Qualifier used to specify which remote cache will be injected.
 *
 * @author Kevin Pollet <[email protected]> (C) 2011 SERLI
 */
@Target({METHOD, FIELD, PARAMETER, TYPE})
@Retention(RUNTIME)
@Documented
@Qualifier
public @interface Remote {
   /**
    * The remote cache name. If no value is provided the default cache is assumed.
    */
   @Nonbinding String value() default "";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy