fr.opensagres.xdocreport.core.cache
Class CacheStorageRegistry

java.lang.Object
  extended by fr.opensagres.xdocreport.core.registry.AbstractRegistry<ICacheStorageFactoryDiscovery>
      extended by fr.opensagres.xdocreport.core.cache.CacheStorageRegistry

public class CacheStorageRegistry
extends AbstractRegistry<ICacheStorageFactoryDiscovery>

Registry of ICacheStorage.


Constructor Summary
CacheStorageRegistry()
           
 
Method Summary
<K,V> ICacheStorage<K,V>
createCache()
           
protected  void doDispose()
           
static CacheStorageRegistry getRegistry()
           
protected  boolean registerInstance(ICacheStorageFactoryDiscovery instance)
          Register the instance in the registry.
 
Methods inherited from class fr.opensagres.xdocreport.core.registry.AbstractRegistry
dispose, initialize, initializeIfNeeded, onEndInitialization, onStartInitialization
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheStorageRegistry

public CacheStorageRegistry()
Method Detail

getRegistry

public static CacheStorageRegistry getRegistry()

registerInstance

protected boolean registerInstance(ICacheStorageFactoryDiscovery instance)
Description copied from class: AbstractRegistry
Register the instance in the registry.

Specified by:
registerInstance in class AbstractRegistry<ICacheStorageFactoryDiscovery>
Returns:
true if instance cannot be registered and false otherwise.

doDispose

protected void doDispose()
Specified by:
doDispose in class AbstractRegistry<ICacheStorageFactoryDiscovery>

createCache

public <K,V> ICacheStorage<K,V> createCache()


Copyright © 2013. All rights reserved.