Annotation Type PluginFactory
-
@Documented @Retention(RUNTIME) @Target(METHOD) public @interface PluginFactory
Identifies a Method as the factory to create the plugin. This annotation should only be used on astatic
method, and its parameters should be annotated with the appropriate Plugin annotations.There can only be one factory method per class.