public interface OVLCompatibilityHandlerFactory
This interface must be derived by a custom plug-in class in order to implement
OVL code compatibility between different versions of a plug-in.
For instance, an OVL field "foo" might have been renamed to "bar":
Or a field might have been moved to another namespace. A OVLCompatibilityHandler tells Omix, how to treat these inconsistencies during file load operations.
A custom class implementing
extend Reaction{
int foo;
}
extend Reaction{
int bar;
}
Or a field might have been moved to another namespace. A OVLCompatibilityHandler tells Omix, how to treat these inconsistencies during file load operations.
A custom class implementing
OVLCompatibilityHandlerFactory
can be registered at the Omix Plug-in Manager:<OVLCompatibilityHandlerFactory>mypackage.MyOVLCompatibilityHandlerFactory</OVLCompatibilityHandlerFactory>
- Since:
- Omix 1.5.12
- Author:
- Dr. Peter Droste
-
Method Summary
Modifier and Type Method Description OVLCompatibilityHandlerInterface
newOVLCompatibilityHandler()
This method is called by the plug-in manager at startup and when the plug-in is installed, respectively.
-
Method Details
-
newOVLCompatibilityHandler
OVLCompatibilityHandlerInterface newOVLCompatibilityHandler()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 OVLCompatibilityHandler.
The custom implementation of this method must instantiate an arbitrary class implementing the interfaceOVLCompatibilityHandlerInterface
.- Returns:
- an instance of
OVLCompatibilityHandlerInterface
-