@Documented @Retention(value=RUNTIME) @Target(value=METHOD) public @interface OnApplicationStartup
IOnApplicationStartup
; but this is at the method level
and any method annotated with this will be called on startup with the options specified.Modifier and Type | Optional Element and Description |
---|---|
OnApplicationStartup.State |
state
Specify State : Should the target method be called on Application STARTup or END of initialization.
|
public abstract OnApplicationStartup.State state
Copyright © 2018. All rights reserved.