ehcache

net.sf.ehcache.distribution
Class CacheManagerPeerProviderFactory

java.lang.Object
  extended by net.sf.ehcache.distribution.CacheManagerPeerProviderFactory
Direct Known Subclasses:
JGroupsCacheManagerPeerProviderFactory, RMICacheManagerPeerProviderFactory

public abstract class CacheManagerPeerProviderFactory
extends java.lang.Object

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

Version:
$Id: CacheManagerPeerProviderFactory.java 519 2007-07-27 07:11:45Z gregluck $
Author:
Greg Luck

Constructor Summary
CacheManagerPeerProviderFactory()
           
 
Method Summary
abstract  CacheManagerPeerProvider createCachePeerProvider(CacheManager cacheManager, java.util.Properties properties)
          Create a peer provider.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheManagerPeerProviderFactory

public CacheManagerPeerProviderFactory()
Method Detail

createCachePeerProvider

public abstract CacheManagerPeerProvider createCachePeerProvider(CacheManager cacheManager,
                                                                 java.util.Properties properties)
Create 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