org.apache.jcs.auxiliary.remote.server
Class RemoteCacheClusterFactory
java.lang.Object
org.apache.jcs.auxiliary.remote.server.RemoteCacheClusterFactory
- All Implemented Interfaces:
- AuxiliaryCacheFactory
- public class RemoteCacheClusterFactory
- extends java.lang.Object
- implements AuxiliaryCacheFactory
Description of the Class
- Author:
- asmuts
|
Field Summary |
private static org.apache.commons.logging.Log |
log
|
private java.lang.String |
name
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static final org.apache.commons.logging.Log log
name
private java.lang.String name
RemoteCacheClusterFactory
public RemoteCacheClusterFactory()
createCache
public AuxiliaryCache createCache(AuxiliaryCacheAttributes iaca,
CompositeCache cache)
- Interface method. Allows classforname construction, making caches
pluggable.
- Specified by:
createCache in interface AuxiliaryCacheFactory
- Parameters:
iaca - Attributes the factory will use to create the AuxiliaryCache
instance.cache - The CompositeCache which will contain the AuxiliaryCache
instance being created. Allows auxiliaries to retain a
reference to their associated CompositeCache.
getName
public java.lang.String getName()
- Gets the name attribute of the RemoteCacheClusterFactory object
- Specified by:
getName in interface AuxiliaryCacheFactory
- Returns:
- The name value
setName
public void setName(java.lang.String name)
- Sets the name attribute of the RemoteCacheClusterFactory object
- Specified by:
setName in interface AuxiliaryCacheFactory
- Parameters:
name - The new name value