ehcache

net.sf.ehcache.event
Class CacheEventListenerFactory

java.lang.Object
  extended by net.sf.ehcache.event.CacheEventListenerFactory
Direct Known Subclasses:
RMICacheReplicatorFactory, TerracottaCacheEventReplicationFactory

public abstract class CacheEventListenerFactory
extends Object

An abstract factory for creating listeners. Implementers should provide their own concrete factory extending this factory. It can then be configured in ehcache.xml.

Version:
$Id: CacheEventListenerFactory.java 2154 2010-04-06 02:45:52Z cdennis $
Author:
Greg Luck

Constructor Summary
CacheEventListenerFactory()
           
 
Method Summary
abstract  CacheEventListener createCacheEventListener(Properties properties)
          Create a CacheEventListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheEventListenerFactory

public CacheEventListenerFactory()
Method Detail

createCacheEventListener

public abstract CacheEventListener createCacheEventListener(Properties properties)
Create a CacheEventListener

Parameters:
properties - implementation specific properties. These are configured as comma separated name value pairs in ehcache.xml
Returns:
a constructed CacheEventListener

ehcache

Copyright © 2003-2012 Terracotta, Inc.. All Rights Reserved.