3.1.3. Namespaces

Warning

You are looking at documentation for an older release. Not what you want? See the current release documentation.

Support of namespaces is required by the JSR-170 specification.

Namespaces definition

The default namespaces are registered by repository at the start-up time.

Your custom service can be extended with a set of namespaces with some specific applications, declaring it in the service's configuration file thanks to the eXo component plugin mechanism as described below:


<component-plugin>
    <name>add.namespaces</name>
    <set-method>addPlugin</set-method>
    <type>org.exoplatform.services.jcr.impl.AddNamespacesPlugin</type>
    <init-params>
        <properties-param>
            <name>namespaces</name>
            <property name="test" value="http://www.test.org/test"/>
        </properties-param>
    </init-params>
</component-plugin>

Namespaces altering

The JCR implementation supports the namespaces altering.

Copyright ©. All rights reserved. eXo Platform SAS
blog comments powered byDisqus