Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution org.nuxeo.template.service.jaxrs.ontrib--contextExtension

This contribution is part of XML component org.nuxeo.template.service.jaxrs.ontrib inside nuxeo-template-rendering-jaxrs-7.10.jar /OSGI-INF/templateprocessor-contrib.xml

Adds helper function to manage REST resources urls

  • jaxrs.getResourceUrl(resourceName)

Extension point

Extension point contextExtension of component TemplateProcessorComponent.

Contributed items

  • <contextFactory class="org.nuxeo.template.jaxrs.context.ExtensionFactory" name="jaxrs">
        </contextFactory>

XML source

<extension point="contextExtension" target="org.nuxeo.template.service.TemplateProcessorComponent">

    <documentation>Adds helper function to manage REST resources urls
      <ul>
        <li>jaxrs.getResourceUrl(resourceName)</li>
      </ul>
    </documentation>

    <contextFactory class="org.nuxeo.template.jaxrs.context.ExtensionFactory" name="jaxrs">
    </contextFactory>

  </extension>