org.apache.jcs.auxiliary.lateral
Class LateralCacheFactory

java.lang.Object
  extended byorg.apache.jcs.auxiliary.lateral.LateralCacheFactory
All Implemented Interfaces:
AuxiliaryCacheFactory

public class LateralCacheFactory
extends java.lang.Object
implements AuxiliaryCacheFactory

Constructs a LateralCacheNoWaitFacade for the given configuration. Each lateral service / local relationship is managed by one manager. This manager canl have multiple caches. The remote relationships are consolidated and restored via these managers. The facade provides a front to the composite cache so the implmenetation is transparent.


Constructor Summary
LateralCacheFactory()
           
 
Method Summary
 AuxiliaryCache createCache(AuxiliaryCacheAttributes iaca, CompositeCache cache)
          Interface method.
 java.lang.String getName()
          Gets the name attribute of the LateralCacheFactory object
 void setName(java.lang.String name)
          Sets the name attribute of the LateralCacheFactory object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LateralCacheFactory

public LateralCacheFactory()
Method Detail

createCache

public AuxiliaryCache createCache(AuxiliaryCacheAttributes iaca,
                                  CompositeCache cache)
Interface method. Allows classforname construction, making caches pluggable.

Specified by:
createCache in interface AuxiliaryCacheFactory
Parameters:
iaca -
cache -
Returns:
AuxiliaryCache

getName

public java.lang.String getName()
Gets the name attribute of the LateralCacheFactory 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 LateralCacheFactory object

Specified by:
setName in interface AuxiliaryCacheFactory
Parameters:
name - The new name value


Copyright © 2002-2005 Apache Software Foundation. All Rights Reserved.