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 astaticmethod, and its parameters should be annotated with the appropriate Plugin annotations.There can only be one factory method per class.