ehcache

net.sf.ehcache.distribution
Class CacheManagerPeerProviderFactory

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

public abstract class CacheManagerPeerProviderFactory
extends 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 5594 2012-05-07 16:04:31Z cdennis $
Author:
Greg Luck

Constructor Summary
CacheManagerPeerProviderFactory()
           
 
Method Summary
abstract  CacheManagerPeerProvider createCachePeerProvider(CacheManager cacheManager, 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,
                                                                 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

Copyright 2001-2014, Terracotta, Inc.