Package com.fathzer.plugin.loader
Interface ClassNameBuilder<T>
- Type Parameters:
T- The context's class
- All Known Implementing Classes:
AbstractServiceClassNameBuilder,ManifestAttributeClassNameBuilder,ServiceClassNameBuilder,ServiceClassNameBuilder
public interface ClassNameBuilder<T>
A class that finds the plugin's concrete class name from a context (for instance from a manifest attribute of a jar).
-
Method Summary
-
Method Details
-
get
Gets the class names of the plugin implementations.- Parameters:
context- The jar that contains the pluginaClass- The interface or abstract class implemented by the plugin.- Returns:
- The class names of the plugin implementation (typically a list of argument of the loadClass method of a ClassLoader).
- Throws:
IOException- if something went wrong
-