net.sf.ehcache.distribution

Class JNDIManualRMICacheManagerPeerProviderFactory

public class JNDIManualRMICacheManagerPeerProviderFactory extends RMICacheManagerPeerProviderFactory

A factory to build a CacheManagerPeerProvider based on RMI and JNDI.

Version: $Id: JNDIManualRMICacheManagerPeerProviderFactory.java 191 2006-09-03 22:41:48Z gregluck $ Default values where properties are not specified or left empty are:

  1. stashContexts - true
  2. stashRemoteCachePeers - true

Author: Andy McNutt Greg Luck

Method Summary
protected CacheManagerPeerProvidercreateManuallyConfiguredCachePeerProvider(Properties properties)
peerDiscovery=manual, jndiUrls=//hostname:port/cacheName //hostname:port/cacheName The jndiUrls are in the format expected by the implementation of your Context.INITIAL_CONTEXT_FACTORY.

Method Detail

createManuallyConfiguredCachePeerProvider

protected CacheManagerPeerProvider createManuallyConfiguredCachePeerProvider(Properties properties)
peerDiscovery=manual, jndiUrls=//hostname:port/cacheName //hostname:port/cacheName The jndiUrls are in the format expected by the implementation of your Context.INITIAL_CONTEXT_FACTORY.