it.eng.spago.cms.repositoryproviders
Class JackrabbitRepositoryProvider

java.lang.Object
  extended by it.eng.spago.cms.repositoryproviders.JackrabbitRepositoryProvider

public class JackrabbitRepositoryProvider
extends java.lang.Object

Implements methods to get the JSR 170 Repository instance using the jackrabbit library.


Field Summary
protected  Repository _repo
          JSR 170 Repository instance
 
Constructor Summary
JackrabbitRepositoryProvider()
          Construct of the class, gets the JSR 170 repository object instance using the jackrabbit library.
 
Method Summary
 Repository getRepository()
          Gets the JSR 170 repository object instance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_repo

protected Repository _repo
JSR 170 Repository instance

Constructor Detail

JackrabbitRepositoryProvider

public JackrabbitRepositoryProvider()
Construct of the class, gets the JSR 170 repository object instance using the jackrabbit library. It needs two parameters into the Spago configuration files must be present an xml envelope structured like below:
 <CONTENTCONFIGURATION>
                <CONTENTREPOSITORY>
                        <PARAMETERS>
                                        <PARAMETER name="repository_path" value="file system root of the cms repository" />
                                        <PARAMETER name="conf_file_path" value="path of the jackrabbit configuration file" />
                        </PARAMETERS>
 

Method Detail

getRepository

public Repository getRepository()
Gets the JSR 170 repository object instance

Parameters:
Repository - the JSR 170 repository object instance