org.apache.cocoon.jcr
Class JackrabbitRepository
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.jcr.AbstractRepository
org.apache.cocoon.jcr.JackrabbitRepository
- All Implemented Interfaces:
- Disposable, Component, Configurable, Contextualizable, LogEnabled, Serviceable, ThreadSafe
public class JackrabbitRepository
- extends AbstractRepository
JackrabbitRepository is a JCR repository component based on Jackrabbit
The configuration is as follows:
<jcr-repository>
<credentials login="expression" password="expression"/>
<home src="file://path/to/repository"/>
<configuration src="resource://your/application/jcr/repository.xml"/>
</jcr-repository>
The home
URI points to the base location of the repository,
and configuration
points to the Jackrabbit repository
configuration file.
- Version:
- $Id: JackrabbitRepository.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- See Also:
AbstractRepository
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JackrabbitRepository
public JackrabbitRepository()
configure
public void configure(Configuration config)
throws ConfigurationException
- Specified by:
configure
in interface Configurable
- Overrides:
configure
in class AbstractRepository
- Throws:
ConfigurationException
dispose
public void dispose()
- Specified by:
dispose
in interface Disposable
- Overrides:
dispose
in class AbstractRepository
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.