Extending the Services

This tool suite is designed to be extensible, allowing consumers to specify custom implementations should the framework not provide enough flexibility. Users of this suite can extend the feature set through registering OSGi services implementing specific API interfaces.

All of the following interfaces extend the RewriteRule interface - which defines the API for matching and rewriting content.

Page Structure

Page & Structure rewrites are managed through two interface definitions:

The StructureRewriteRule interface is used to define the transformations at the page structure level. These services are used during the transformation of a page’s node structure. Service ranking is not used at this time, as there should only ever be one matching service per structure to convert.

The PageStructureRewriteRule is the interface that should also be implemented and registered, in order for matching page’s to be displayed on the administration page.

Components

The ComponentRewriteRule interface identifies service implementations to be used to match & transform Component instances.

Policies

The PoliciesImportRule interface identifies service implementations to be used to match, transform and import Policy definitions.

Dialogs

The DialogRewriteRule interface identifies service implementations to be used to match & transform Dialog widgets .