The add-on ships with a catalog of several predefined transformations. To add your custom transformation to the add-on's catalog:
Add the following code to the handleRepositoryStartup()
method in your module's registration servlet.
TransformationCatalog.add(new NumToWeekdayTransformationDefinition());
You must also add the transformation definition and implementation classes to a JAR file and include it in the same location on your server as ebx.jar
.
Until you complete the steps above, an administrator cannot use the custom transformation when creating a configuration. You can use the EBX® documentation for developers to get instructions on deploying a custom module.
See Using a custom transformation for instructions on adding a custom transformation implementation to a mapping configuration.