@Documented @Retention(value=RUNTIME) @Target(value={METHOD,TYPE,ANNOTATION_TYPE}) public @interface Executable
Annotation applied to the method or type indicating that a ExecutableMethod
should be
produced for this method.
When applied to a type all public methods will be considered executable and the necessary metadata produced
This annotation can be used as a meta annotation
Modifier and Type | Optional Element and Description |
---|---|
boolean |
processOnStartup
Whether the
ExecutableMethod should be processed at startup by the registered
ExecutableMethodProcessor instances. |
public abstract boolean processOnStartup
ExecutableMethod
should be processed at startup by the registered
ExecutableMethodProcessor
instances. The default is false to ensure fast
startup, but for certain types of components processing at startup is required (for example scheduled tasks)ExecutableMethod
at startup