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

org.infinispan.factories.annotations.Start 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 starts.
 * 

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





© 2015 - 2025 Weber Informatics LLC | Privacy Policy