ehcache

net.sf.ehcache.distribution
Class CacheManagerPeerListenerFactory

java.lang.Object
  extended by net.sf.ehcache.distribution.CacheManagerPeerListenerFactory
Direct Known Subclasses:
RMICacheManagerPeerListenerFactory

public abstract class CacheManagerPeerListenerFactory
extends Object

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

This enables listener plugins.

Version:
$Id: CacheManagerPeerListenerFactory.java 5594 2012-05-07 16:04:31Z cdennis $
Author:
Greg Luck

Constructor Summary
CacheManagerPeerListenerFactory()
           
 
Method Summary
abstract  CacheManagerPeerListener createCachePeerListener(CacheManager cacheManager, Properties properties)
          Creates a peer provider.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheManagerPeerListenerFactory

public CacheManagerPeerListenerFactory()
Method Detail

createCachePeerListener

public abstract CacheManagerPeerListener createCachePeerListener(CacheManager cacheManager,
                                                                 Properties properties)
Creates a peer provider.

Parameters:
cacheManager - the CacheManager instance connected to this peer provider
properties - implementation specific properties. These are configured as comma separated name value pairs in ehcache.xml
Returns:
a constructed CacheManagerPeerProvider

ehcache

Copyright 2001-2015, Terracotta, Inc.