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

org.infinispan.factories.annotations.Stop Maven / Gradle / Ivy

There is a newer version: 9.1.7.Final
Show newest version
package org.infinispan.factories.annotations;

import static java.lang.annotation.ElementType.METHOD;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Method level annotation that indicates a (no-param) method to be called on a component registered in the
 * ComponentRegistry when the cache stops.
 * 

* * @author Manik Surtani ([email protected]) * @since 4.0 */ @Target(METHOD) @Retention(RetentionPolicy.RUNTIME) public @interface Stop { /** * Optional parameter which defines the order in which this method will be called when the ComponentRegistry moves to * the STOPPING state. Defaults to 10. * * @return execution priority * @since 4.0 */ public abstract int priority() default 10; }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy