org.apache.jackrabbit.spi.commons
Class AbstractRepositoryService

java.lang.Object
  extended by org.apache.jackrabbit.spi.commons.AbstractRepositoryService
All Implemented Interfaces:
RepositoryService
Direct Known Subclasses:
AbstractReadableRepositoryService

public abstract class AbstractRepositoryService
extends Object
implements RepositoryService

AbstractRepositoryService provides an abstract base class for repository service implementations. This class provides default implementations for the following methods:


Constructor Summary
AbstractRepositoryService()
           
 
Method Summary
 IdFactory getIdFactory()
           
 NameFactory getNameFactory()
           
 PathFactory getPathFactory()
           
 QValueFactory getQValueFactory()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.jackrabbit.spi.RepositoryService
addVersionLabel, checkin, checkout, checkQueryStatement, clone, copy, createBatch, createEventFilter, createSubscription, dispose, dispose, executeQuery, getChildInfos, getEvents, getItemInfos, getLockInfo, getNamespacePrefix, getNamespaceURI, getNodeDefinition, getNodeInfo, getPropertyDefinition, getPropertyInfo, getQNodeTypeDefinitions, getQNodeTypeDefinitions, getRegisteredNamespaces, getRepositoryDescriptors, getSupportedQueryLanguages, getWorkspaceNames, impersonate, importXml, isGranted, lock, lock, merge, move, obtain, obtain, refreshLock, registerNamespace, removeVersion, removeVersionLabel, resolveMergeConflict, restore, restore, submit, unlock, unregisterNamespace, update, updateEventFilters
 

Constructor Detail

AbstractRepositoryService

public AbstractRepositoryService()
Method Detail

getIdFactory

public IdFactory getIdFactory()
                       throws RepositoryException
Specified by:
getIdFactory in interface RepositoryService
Returns:
IdFactoryImpl.getInstance().
Throws:
RepositoryException - if an error occurs.

getNameFactory

public NameFactory getNameFactory()
                           throws RepositoryException
Specified by:
getNameFactory in interface RepositoryService
Returns:
NameFactoryImpl.getInstance().
Throws:
RepositoryException - if an error occurs.

getPathFactory

public PathFactory getPathFactory()
                           throws RepositoryException
Specified by:
getPathFactory in interface RepositoryService
Returns:
PathFactoryImpl.getInstance().
Throws:
RepositoryException - if an error occurs.

getQValueFactory

public QValueFactory getQValueFactory()
                               throws RepositoryException
Specified by:
getQValueFactory in interface RepositoryService
Returns:
QValueFactoryImpl.getInstance().
Throws:
RepositoryException - if an error occurs.


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.