ehcache

net.sf.ehcache.event
Class CacheManagerEventListenerFactory

java.lang.Object
  extended by net.sf.ehcache.event.CacheManagerEventListenerFactory

public abstract class CacheManagerEventListenerFactory
extends Object

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

Version:
$Id: CacheManagerEventListenerFactory.java 5594 2012-05-07 16:04:31Z cdennis $
Author:
Greg Luck
See Also:
"http://ehcache.org/documentation/apis/cachemanager-event-listeners"

Constructor Summary
CacheManagerEventListenerFactory()
           
 
Method Summary
abstract  CacheManagerEventListener createCacheManagerEventListener(CacheManager cacheManager, 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

CacheManagerEventListenerFactory

public CacheManagerEventListenerFactory()
Method Detail

createCacheManagerEventListener

public abstract CacheManagerEventListener createCacheManagerEventListener(CacheManager cacheManager,
                                                                          Properties properties)
Create a CacheEventListener

Parameters:
cacheManager - the cache manager
properties - implementation specific properties. These are configured as comma separated name value pairs in ehcache.xml. Properties may be null
Returns:
a constructed CacheManagerEventListener

ehcache

Copyright 2001-2015, Terracotta, Inc.