Package org.apache.sling.jcr.api
Interface NamespaceMapper
-
@Deprecated public interface NamespaceMapper
Deprecated.Per session namespace mapping is not supported anymore.This interface is used to customize the namespace mapping of a session.- Since:
- 2.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
defineNamespacePrefixes(Session session)
Deprecated.This method is invoked whenever a new session is created.
-
-
-
Method Detail
-
defineNamespacePrefixes
void defineNamespacePrefixes(Session session) throws RepositoryException
Deprecated.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:
RepositoryException
- If anything goes wrong
-
-