Generic plugin


IPluginGeneric

Use cases

Generic plugins are not executed by Xima® Formcycle directly, but they could be called by other plugins.

As with plugins, generic plugin will be initialized when they are registered, which allows generic plugins to execute custom code during the initialization process. To do so, override the method initPlugin.

Method signature

IPluginGenericRetVal execute(IPluginGenericParams params) throws FCPluginException

Parameters

An object of type IPluginGenericParams will be passed to the executed method, providing access to a map containing the plugin parameters.

Return value

The execute method must return an object implementing IPluginGenericRetVal.

The class PluginGenericRetVal provides a reference implementation. Its constructor takes a map with serializable data.