portal.dictionary.cache
Class A_PortalCachingDictionaryObjectReader

java.lang.Object
  extended byportal.dictionary.A_PortalDictionaryObjectReader
      extended byportal.dictionary.cache.A_PortalCachingDictionaryObjectReader
All Implemented Interfaces:
I_PortalDictionaryObjectReader, I_PortalEventHandler
Direct Known Subclasses:
PortalCachingDictionaryActionScriptReader, PortalCachingDictionaryInstanceReader, PortalCachingDictionaryMappingReader, PortalCachingDictionaryMessagesReader, PortalCachingDictionaryProcessConfigurationReader, PortalCachingDictionarySchemaReader, PortalCachingDictionaryXFormReader

public abstract class A_PortalCachingDictionaryObjectReader
extends A_PortalDictionaryObjectReader
implements I_PortalEventHandler

Base class for all caching dictionary object readers.

Version:
$Revision: 1.2 $
Author:
Thomas Weckert

Constructor Summary
A_PortalCachingDictionaryObjectReader()
           
 
Method Summary
 void cacheObject(java.lang.String processName, I_PortalDictionaryObject dictionaryObject)
           
 boolean cloneObjects()
           
 void destroy()
           
 java.util.Map getCachedObjects()
           
 java.util.List getSupportedEventTypes()
           
 void handlePortalEvent(I_PortalEvent event)
           
 void init(PortalApplication portalApplication, PortalDictionaryConfiguration dictionaryConfiguration, PortalDictionaryReaderConfiguration readerConfiguration)
           
 I_PortalDictionaryObject readObject(java.lang.String processName, java.lang.String objectName)
           
 
Methods inherited from class portal.dictionary.A_PortalDictionaryObjectReader
equals, hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface portal.dictionary.I_PortalDictionaryObjectReader
getSupportedType
 

Constructor Detail

A_PortalCachingDictionaryObjectReader

public A_PortalCachingDictionaryObjectReader()
Method Detail

destroy

public void destroy()
             throws PortalException
Specified by:
destroy in interface I_PortalDictionaryObjectReader
Throws:
PortalException
See Also:
I_PortalDictionaryObjectReader.destroy()

init

public void init(PortalApplication portalApplication,
                 PortalDictionaryConfiguration dictionaryConfiguration,
                 PortalDictionaryReaderConfiguration readerConfiguration)
          throws PortalException
Specified by:
init in interface I_PortalDictionaryObjectReader
Throws:
PortalException
See Also:
I_PortalDictionaryObjectReader.init(portal.main.PortalApplication, portal.dictionary.PortalDictionaryConfiguration, portal.dictionary.PortalDictionaryReaderConfiguration)

getCachedObjects

public java.util.Map getCachedObjects()

cacheObject

public void cacheObject(java.lang.String processName,
                        I_PortalDictionaryObject dictionaryObject)

getSupportedEventTypes

public java.util.List getSupportedEventTypes()
Specified by:
getSupportedEventTypes in interface I_PortalEventHandler
See Also:
I_PortalEventHandler.getSupportedEventTypes()

handlePortalEvent

public void handlePortalEvent(I_PortalEvent event)
Specified by:
handlePortalEvent in interface I_PortalEventHandler
See Also:
I_PortalEventHandler.handlePortalEvent(portal.event.I_PortalEvent)

cloneObjects

public boolean cloneObjects()

readObject

public I_PortalDictionaryObject readObject(java.lang.String processName,
                                           java.lang.String objectName)
                                    throws PortalException
Specified by:
readObject in interface I_PortalDictionaryObjectReader
Throws:
PortalException
See Also:
I_PortalDictionaryObjectReader.readObject(java.lang.String, java.lang.String)