org.apache.myfaces.extensions.validator.core.storage
Class AbstractApplicationScopeAwareStorageManager<T>

java.lang.Object
  extended by org.apache.myfaces.extensions.validator.core.factory.AbstractNameMapperAwareFactory<String>
      extended by org.apache.myfaces.extensions.validator.core.storage.AbstractStorageManager<T>
          extended by org.apache.myfaces.extensions.validator.core.storage.AbstractApplicationScopeAwareStorageManager<T>
All Implemented Interfaces:
NameMapperAwareFactory<NameMapper<String>>, StorageManager<T>

public abstract class AbstractApplicationScopeAwareStorageManager<T>
extends AbstractStorageManager<T>

Generic storage manager implementation which stores the storage implementations in the JSF application scope.

Since:
x.x.3
Author:
Gerhard Petracek

Field Summary
 
Fields inherited from class org.apache.myfaces.extensions.validator.core.storage.AbstractStorageManager
logger
 
Constructor Summary
AbstractApplicationScopeAwareStorageManager()
           
 
Method Summary
protected  Map<String,T> resolveStorageMap()
          Returns a Map of all cached instances keyed on the type of storage available in the JSF Application scope.
 
Methods inherited from class org.apache.myfaces.extensions.validator.core.storage.AbstractStorageManager
create, getNameMapperList, getStorageManagerKey, reset, resolveStorage
 
Methods inherited from class org.apache.myfaces.extensions.validator.core.factory.AbstractNameMapperAwareFactory
deny, deregister, getComparator, register
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractApplicationScopeAwareStorageManager

public AbstractApplicationScopeAwareStorageManager()
Method Detail

resolveStorageMap

protected Map<String,T> resolveStorageMap()
Returns a Map of all cached instances keyed on the type of storage available in the JSF Application scope.

Specified by:
resolveStorageMap in class AbstractStorageManager<T>
Returns:
Map of all cached storage Manager implementations keyed on the type of storage.


Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.