net.sf.ehcache.distribution
Class CacheManagerPeerListenerFactory
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CacheManagerPeerListenerFactory
public CacheManagerPeerListenerFactory()
createCachePeerListener
public abstract CacheManagerPeerListener createCachePeerListener(CacheManager cacheManager,
Properties properties)
- Creates a peer provider.
- Parameters:
cacheManager
- the CacheManager instance connected to this peer providerproperties
- implementation specific properties. These are configured as comma
separated name value pairs in ehcache.xml
- Returns:
- a constructed CacheManagerPeerProvider
Copyright 2001-2015, Terracotta, Inc.