Package org.apache.sling.jcr.base
@Version("3.5.0")
package org.apache.sling.jcr.base
The
org.apache.sling.jcr.base package provides basic support
to expose JCR repositories in Sling. The primary classes to implement are
org.apache.sling.jcr.base.AbstractSlingRepositoryManager to
manage the actual JCR repository instance and
AbstractSlingRepository2 being the
basis for the repository service instance handed to using bundles.-
ClassesClassDescriptionThe
AbstractSlingRepository2is an abstract implementation of theSlingRepositoryversion 2.3 interface (phasingAbstractSlingRepository2.loginAdministrative(String)out in favor ofAbstractSlingRepository2.loginService(String, String)) which provides default support for attached repositories.TheAbstractSlingRepositoryManageris the basis for controlling the JCR repository instances used by Sling.Configuration pojo to be passed to theAbstractSlingRepositoryManager.start(BundleContext, Config)method.TheNodeTypeSupportcontains utility methods to register node types from a CND nodetype definition file given as an URL or InputStream with the repository.