uk.ac.soton.itinnovation.registry.component.xml.db
Class XmlDbAccessAdapter<E>

java.lang.Object
  extended by uk.ac.soton.itinnovation.registry.component.xml.db.XmlDbAccessAdapter<E>
All Implemented Interfaces:
PermissionManagement, XmlDbAccess<E>, Access
Direct Known Subclasses:
XmlDbAccessXmlDb

public abstract class XmlDbAccessAdapter<E>
extends Object
implements Access, XmlDbAccess<E>


Field Summary
protected static CacheManagement cacheManagement
           
protected  Hashtable<String,XmlPredefinedQuery> internalUsedQueries
           
protected static org.apache.log4j.Logger logger
           
 
Constructor Summary
XmlDbAccessAdapter()
           
 
Method Summary
 CacheManagement getCacheManagement()
           
protected  void init()
           
protected abstract  void initHook()
          Implementation of the init method in derived classes.
protected abstract  void loadPredefinedQueriesIntoCache(CacheManagement cacheManagement)
          Load the predefined queries into the registry cache management.
protected  void loadRegistyDomainModelIntoCache(CacheManagement cacheManagement)
          Load the registry domain model into the cache.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface uk.ac.soton.itinnovation.registry.component.xml.db.XmlDbAccess
createCollection, executePredefinedQuery, getIdentifierByFile, getIdentifierByTemporyResource, getIdentifierByTemporyResource, getIdentifierByXQuery, getIdentifierOfResource, getIdentifiesByRelation, getIdentifiesByRelation, getLocalDirectoryName, getRelationships, getRelationships, getResourcesByRelation, getResourcesByRelation, insertRelationship, lookup, lookup, lookupByDirectory, lookupByFile, lookupByTemporaryResource, query, registerPredefinedQuery, removeAllDocumentsFromRegistry, removeDocumentFromRegistry, resetPredefinedQueries, storeDocumentInRegistry, storeDocumentInRegistry, storeDocumentInRegistry, storeDocumentInRegistry, storePredefinedQuery, storeStringDocumentInRegistry
 
Methods inherited from interface uk.ac.soton.itinnovation.registry.component.xml.db.PermissionManagement
setPermission, setPermission
 

Field Detail

logger

protected static final org.apache.log4j.Logger logger

cacheManagement

protected static CacheManagement cacheManagement

internalUsedQueries

protected Hashtable<String,XmlPredefinedQuery> internalUsedQueries
Constructor Detail

XmlDbAccessAdapter

public XmlDbAccessAdapter()
Method Detail

getCacheManagement

public CacheManagement getCacheManagement()
Specified by:
getCacheManagement in interface Access

init

protected final void init()

initHook

protected abstract void initHook()
Implementation of the init method in derived classes.


loadRegistyDomainModelIntoCache

protected void loadRegistyDomainModelIntoCache(CacheManagement cacheManagement)
Load the registry domain model into the cache.

Parameters:
cacheManagement -

loadPredefinedQueriesIntoCache

protected abstract void loadPredefinedQueriesIntoCache(CacheManagement cacheManagement)
Load the predefined queries into the registry cache management.

Parameters:
cacheManagement -


Copyright © 2001-2008 University of Southampton IT Innovation Centre. All Rights Reserved.