forklift.decorators.RequireSystem Maven / Gradle / Ivy
package forklift.decorators;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Instructs forklift to check that a required system is up and running. Checks the availability
* of a system before processing messages by a consumer. RequireSystem is supported by system services.
*/
@Documented
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
public @interface RequireSystem {
/** The system classes that define a required system service */
String[] value() default "";
}