|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.jcr.AbstractRepository
org.apache.cocoon.jcr.JackrabbitRepository
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.
AbstractRepository| Field Summary |
| Fields inherited from class org.apache.cocoon.jcr.AbstractRepository |
context, delegate, JCR_SESSION_REQUEST_ATTRIBUTE, loginResolver, manager, passwordResolver, ROLE |
| Fields inherited from interface javax.jcr.Repository |
LEVEL_1_SUPPORTED, LEVEL_2_SUPPORTED, OPTION_LOCKING_SUPPORTED, OPTION_OBSERVATION_SUPPORTED, OPTION_QUERY_SQL_SUPPORTED, OPTION_TRANSACTIONS_SUPPORTED, OPTION_VERSIONING_SUPPORTED, QUERY_XPATH_DOC_ORDER, QUERY_XPATH_POS_INDEX, REP_NAME_DESC, REP_VENDOR_DESC, REP_VENDOR_URL_DESC, REP_VERSION_DESC, SPEC_NAME_DESC, SPEC_VERSION_DESC |
| Constructor Summary | |
JackrabbitRepository()
|
|
| Method Summary | |
void |
configure(Configuration config)
|
void |
dispose()
|
| Methods inherited from class org.apache.cocoon.jcr.AbstractRepository |
contextualize, getDescriptor, getDescriptorKeys, login, login, login, login, service |
| Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JackrabbitRepository()
| Method Detail |
public void configure(Configuration config)
throws ConfigurationException
configure in interface Configurableconfigure in class AbstractRepositoryConfigurationExceptionpublic void dispose()
dispose in interface Disposabledispose in class AbstractRepository
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||