it.unimo.dbgroup.momis.annotationOntology
Class OntologyManagerCacheExtender

java.lang.Object
  extended byit.unimo.dbgroup.momis.annotationOntology.OntologyManagerCache
      extended byit.unimo.dbgroup.momis.annotationOntology.OntologyManagerCacheExtender

public class OntologyManagerCacheExtender
extends OntologyManagerCache

Cache used by the OntologyManager for Extenders

Author:
Alberto Corni (Aug 2003)

Field Summary
private  java.util.Map _cacheExtenderIdentifier
           
 
Fields inherited from class it.unimo.dbgroup.momis.annotationOntology.OntologyManagerCache
 
Constructor Summary
OntologyManagerCacheExtender(OntologyManager ontologyManager)
           
 
Method Summary
 void clear()
          clean the cache
 OntologyExtender getExtender(java.lang.Object extenderIdentifier)
           
private  void putInCache(OntologyExtender ontologyExtender)
          The correct way to add an entry to the cache
 
Methods inherited from class it.unimo.dbgroup.momis.annotationOntology.OntologyManagerCache
getOntologyManager, setOntologyManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_cacheExtenderIdentifier

private java.util.Map _cacheExtenderIdentifier
Constructor Detail

OntologyManagerCacheExtender

public OntologyManagerCacheExtender(OntologyManager ontologyManager)
Method Detail

getExtender

public OntologyExtender getExtender(java.lang.Object extenderIdentifier)
                             throws java.lang.Exception
Parameters:
extenderIdentifier - the object identifier for the extender
Throws:
java.lang.Exception

putInCache

private void putInCache(OntologyExtender ontologyExtender)
The correct way to add an entry to the cache


clear

public void clear()
clean the cache

Specified by:
clear in class OntologyManagerCache


Universita' di Modena e Reggio Emilia