MigratoryData Extension API
Developer's Guide and Reference Manual
This guide includes the following sections:
This Application Programming Interface (API) contains all the necessary operations for building extensions for MigratoryData Server.
A typical API usage is as follows:
The interface MigratoryDataExtensionListener is available under the folder
doc/Extention/API of this package.
Build a jar consisting in the object code of the class defined at Step 2. In addition, the jar must also include a folder named
services in its
META-INF folder. Moreover, the folder
services must include a file named
com.migratorydata.agent.MigratoryDataExtensionListener which must have as content the fully qualified name of the class defined at Step 2.
Rename the JAR built at Step 4 to
extension.jar and deploy it to the folder
extensions of the root folder of your MigratoryData server installation. If you installed MigratoryData Server using the deb/rpm packages, then deploy the JAR to the folder
In the configuration file of the MigratoryData server, configure the parameter
Entitlement as follows:
Entitlement = Custom
Use the API call
MigratoryDataClient.setEntitlementToken() to attach an entitlement token to the clients of the MigratoryData server.
An example built with this API is available in the folder
doc/Extension/examples of this package; start with the README file which explains how to compile and run the example.