org.xj4.lifecycle.Requires Maven / Gradle / Ivy
package org.xj4.lifecycle;
import java.lang.annotation.*;
/**
* Marks a lifecycle as requiring other managed fields. If, for example, lifecycle A requires lifecycle B, then B's
* "before" methods will be called before A's, and B's "after" methods will be called after A's.
*
* @author Jared Bunting
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Inherited
public @interface Requires {
Class>[] value() default { };
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy