org.apache.jcs.auxiliary.disk.jdbc.mysql
Class MySQLDiskCacheFactory

java.lang.Object
  extended by org.apache.jcs.auxiliary.disk.jdbc.mysql.MySQLDiskCacheFactory
All Implemented Interfaces:
AuxiliaryCacheFactory

public class MySQLDiskCacheFactory
extends java.lang.Object
implements AuxiliaryCacheFactory

This factory should create mysql disk caches.

Author:
Aaron Smuts

Constructor Summary
MySQLDiskCacheFactory()
           
 
Method Summary
 AuxiliaryCache createCache(AuxiliaryCacheAttributes rawAttr, ICompositeCacheManager arg1)
          This factory method should create an instance of the mysqlcache.
 java.lang.String getName()
          Returns the display name
 void setName(java.lang.String nameArg)
          The name of the factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MySQLDiskCacheFactory

public MySQLDiskCacheFactory()
Method Detail

createCache

public AuxiliaryCache createCache(AuxiliaryCacheAttributes rawAttr,
                                  ICompositeCacheManager arg1)
This factory method should create an instance of the mysqlcache.

Specified by:
createCache in interface AuxiliaryCacheFactory
arg1 - This allows auxiliaries to reference the manager without assuming that it is a singleton. This will allow JCS to be a nonsingleton. Also, it makes it easier to test.
Returns:
AuxiliaryCache

setName

public void setName(java.lang.String nameArg)
The name of the factory.

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

getName

public java.lang.String getName()
Returns the display name

Specified by:
getName in interface AuxiliaryCacheFactory
Returns:
The name value


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