it.eng.spago.cms.repositoryproviders
Class ExoRepositoryProvider

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

public class ExoRepositoryProvider
extends java.lang.Object

Implements methods to get the JSR 170 Repository instance from an Exo ECM server.


Field Summary
protected  Repository _repo
          JSR 170 Repository instance
 
Constructor Summary
ExoRepositoryProvider()
          Construct of the class, gets the JSR 170 repository object instance from an eXo ECM server.
 
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

ExoRepositoryProvider

public ExoRepositoryProvider()
Construct of the class, gets the JSR 170 repository object instance from an eXo ECM server. It needs a parameter which contains the name of the exo portal application context name, so, into the Spago configuration files must be present an xml envelope structured like below:
 <CONTENTCONFIGURATION>
                <CONTENTREPOSITORY>
                        <PARAMETERS>
                                        <CONTEXTNAME name="name of the portal context name" />
 

Method Detail

getRepository

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

Parameters:
Repository - the JSR 170 repository object instance