org.softamis.net.registry.spring
Class DefaultDistributedCache<K extends java.io.Serializable,V extends java.io.Serializable>

java.lang.Object
  extended by org.softamis.net.cache.impl.MapBasedCache<K,V>
      extended by org.softamis.net.cache.impl.DefaultDistributedCache<K,V>
          extended by org.softamis.net.registry.spring.DefaultDistributedCache<K,V>
All Implemented Interfaces:
java.util.EventListener, SimpleCache<K,V>, RegistryEventProcessor<K,V>, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationListener

public class DefaultDistributedCache<K extends java.io.Serializable,V extends java.io.Serializable>
extends DefaultDistributedCache<K,V>
implements org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationListener

Title: DefaultDistributedCache

Description:

Company: SoftAMIS (www.soft-amis.com)

User: Andrew Sazonov

Date: Jun 13, 2006


Field Summary
 
Fields inherited from class org.softamis.net.cache.impl.DefaultDistributedCache
fCommunicationHelper
 
Fields inherited from class org.softamis.net.cache.impl.MapBasedCache
fCacheLock, fData
 
Constructor Summary
DefaultDistributedCache()
           
 
Method Summary
 void afterPropertiesSet()
          Invoked by Spring and is used to check that CommunicationHelper is set.
 void onApplicationEvent(org.springframework.context.ApplicationEvent aEvent)
           
 
Methods inherited from class org.softamis.net.cache.impl.DefaultDistributedCache
close, doAfterObjectAdded, doAfterUpdate, doInit, getCommunicationHelper, init, insureCommunicationHelperSet, processItemInvalid, processItemRegistered, processItemsRequest, processItemUnregistered, setCommunicationHelper
 
Methods inherited from class org.softamis.net.cache.impl.MapBasedCache
clear, getKeys, getObject, getValues, saveObject, size, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDistributedCache

public DefaultDistributedCache()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws java.lang.Exception
Invoked by Spring and is used to check that CommunicationHelper is set.

Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
java.lang.Exception

onApplicationEvent

public void onApplicationEvent(org.springframework.context.ApplicationEvent aEvent)
Specified by:
onApplicationEvent in interface org.springframework.context.ApplicationListener