Table of Contents
Infrastructure plugins
Meandre infrastructure plugins implement the MeandrePlugin interface shown below. They are used to provide particular functionality not provided by the infrastructure.
Comments and considerations.
Plugins are intended to extend the functionality of the Meandre server. They can provide dedicated access to data source, extend the web services available, or simply add some extra machinery/interface to third party software. Please be aware that developing infrastructure plugins requires a good understanding of the Meandre infrastructure. Negligent creation of plugins can lead to catastrophic results. Also, before thinking about implementing an infrastructure plugin, ask yourself if the same goal cannot be achieved by creating specialized components for your flows.
The following steeps must be followed to get a plugin running in the infrastructure.
- Implement a Java class that implements the interface presented above.
- Remember that when added to the infrastructure, the plugin will be instantiate and added at boot time.
- Compile the probe.
- Add a entry to the plugin configuration file for the new probe where the key is the logic name of the plugin (see Meandre server configuration files for more details about the configuration file).
- Add the compiled probe to the class path of Meandre Server (restart the server if appropriate).