public interface PluginCompatibilityHandlerFactory
This interface must be derived by a custom plug-in class in order to implement
compatibility when a plug-in identifier changed.
A custom class implementing
PluginCompatibilityHandlerFactory
can be registered at the Omix Plug-in Manager:<PluginCompatibilityHandlerFactory>mypackage.MyPluginCompatibilityHandlerFactory</PluginCompatibilityHandlerFactory>
- Since:
- Omix 1.7.0
- Author:
- Dr. Peter Droste
-
Method Summary
Modifier and Type Method Description PluginCompatibilityHandlerInterface
newPluginCompatibilityHandler()
This method is called by the plug-in manager at startup and when the plug-in is installed, respectively.
-
Method Details
-
newPluginCompatibilityHandler
PluginCompatibilityHandlerInterface newPluginCompatibilityHandler()This method is called by the plug-in manager at startup and when the plug-in is installed, respectively. The role of this method is to create the PluginCompatibilityHandler.
The custom implementation of this method must instantiate an arbitrary class implementing the interfacePluginCompatibilityHandlerInterface
.- Returns:
- an instance of
PluginCompatibilityHandlerInterface
-