Previous topic  Top  Next topic  Print this Topic

Extensions Directory for Deploying Rewriters


To add one or multiple rewriters to OntoBroker, you need to publish a IRewriterProvider service.

package com.ontoprise.api.rewriter;


public interface RewriterProvider {

  List<RewriterSpec> getRewriterSpecs();


The procedure is analog to the above description for the builtin JAR file. Only the declarative service definition file is shown here.


<?xml version="1.0" encoding="UTF-8"?>

<scr:component xmlns:scr="" name="com.acme.myrewriters">

  <implementation class="mypackage.MyRewritersProvider"/>


    <provide interface="com.ontoprise.api.rewriter.RewriterProvider"/>