@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface UnLoad
Intended for use by plugin developers to mark a method of an extension implementation to be called during plugin unload time.
The semantics of the method marked with this annotation is as follows.PluginContext. Return values will be ignored.Load annotation. But the callback to this method is only done during the plugin unload time.
In summary, semantics checks are done at the plugin load and invocation done during the plugin unload.
Please refer to the Go Plugin documentation for more details.PluginContext,
LoadCopyright © 2019 ThoughtWorks, Inc. GoCD Version: 19.2.0-8641