Package org.pfsw.plugin

Plugin Utility Classes
A component that supports automatic collection of plugins from all elements in the classpath that comply to a specified interface/class.

See:
          Description

Interface Summary
IIdentifiablePlugin This interface can optionally be implemented by plugins.
IInitializablePlugin Defines the methods needed to initialize a plug-in implementation right after its creation via its public no-argument constructor.
PluginRegistration Implementations of this interface provide alias names with associated classes that will be registered for dynamic instantiation.
 

Class Summary
BasePluginRegistration An abstract implementation of the PluginRegistration interface that can be extended and filled with the relevant data by overriding the BasePluginRegistration.initialize() method.
ClassRegistry<T> A class registry is a container that keeps classes registered under a logical key.
LoggerProvider This is the central access point for the package's logger.
PluginCollector<TType> The responsibility of this class is to detect all properties files with a specific name on a given classpath and load the defined classes that fit to a given class/interface into a class regitry.
PluginLoader<TInterface> An abstract class that implements the generic logic to load a configured implementation class for a specific interface through different variants of loading mechanisms.
PluginRegistry A special registry that is capable to hold any number of plug-ins of any type.
PluginUtil Provides helper methods around the PF plug-in mechanism.
 

Exception Summary
ClassRegistryException A generic exception for all problems that occur within the class registry.
 

Package org.pfsw.plugin Description

Plugin Utility Classes


A component that supports automatic collection of plugins from all elements in the classpath that comply to a specified interface/class.