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 5594 2012-05-07 16:04:31Z 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 2001-2015, Terracotta, Inc.