org.castor.cache.distributed
Class CoherenceCacheFactory

java.lang.Object
  extended byorg.castor.cache.AbstractCacheFactory
      extended byorg.castor.cache.distributed.CoherenceCacheFactory
All Implemented Interfaces:
CacheFactory

public final class CoherenceCacheFactory
extends AbstractCacheFactory

Implements CacheFactory for the CoherenceCache implementation of Cache.

Since:
1.0
Version:
$Revision: 7085 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
Author:
Tim Telcik, Werner Guttmann, Ralf Joachim

Constructor Summary
CoherenceCacheFactory()
           
 
Method Summary
 java.lang.String getCacheClassName()
          Returns the full class name of the underlying cache implementation.
 java.lang.String getCacheType()
          Returns the short alias cache type for this factory instance.
 void shutdown()
          Allows for cache-specific shutdown operations and resource cleanup.
 void shutdown(java.lang.String implementation)
          Normally called to shutdown CoherenceCache.
 
Methods inherited from class org.castor.cache.AbstractCacheFactory
getCache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoherenceCacheFactory

public CoherenceCacheFactory()
Method Detail

getCacheType

public java.lang.String getCacheType()
Returns the short alias cache type for this factory instance.

Returns:
The short alias cache type.
See Also:
CacheFactory.getCacheType()

getCacheClassName

public java.lang.String getCacheClassName()
Returns the full class name of the underlying cache implementation.

Returns:
The full cache class name.
See Also:
CacheFactory.getCacheClassName()

shutdown

public void shutdown()
Allows for cache-specific shutdown operations and resource cleanup.

Specified by:
shutdown in interface CacheFactory
Overrides:
shutdown in class AbstractCacheFactory
See Also:
CacheFactory.shutdown()

shutdown

public void shutdown(java.lang.String implementation)
Normally called to shutdown CoherenceCache. To be able to test the method without having com.tangosol.net.CacheFactory implementation, it can also be called with a test implementations classname.

Parameters:
implementation - Cache implementation classname to shutdown.


Copyright 2008 null. All Rights Reserved.