org.apache.sling.jcr.api
Interface NamespaceMapper
public interface NamespaceMapper
This interface is used to customize the namespace mapping of
a session.
- Since:
- 2.1
Method Summary |
void |
defineNamespacePrefixes(javax.jcr.Session session)
This method is invoked whenever a new session is created. |
defineNamespacePrefixes
void defineNamespacePrefixes(javax.jcr.Session session)
throws javax.jcr.RepositoryException
- This method is invoked whenever a new session is created.
It allows the service to add own namespace prefixes.
- Parameters:
session
- The new session
- Throws:
javax.jcr.RepositoryException
- If anything goes wrong
Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.