edu.uiuc.ncsa.myproxy.oa4mp.client.storage
Class MemoryAssetStore

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<edu.uiuc.ncsa.security.core.Identifier,V>
          extended by edu.uiuc.ncsa.security.storage.MemoryStore<Asset>
              extended by edu.uiuc.ncsa.myproxy.oa4mp.client.storage.MemoryAssetStore
All Implemented Interfaces:
AssetStore, edu.uiuc.ncsa.security.core.Store<Asset>, Serializable, Cloneable, Map<edu.uiuc.ncsa.security.core.Identifier,Asset>

public class MemoryAssetStore
extends edu.uiuc.ncsa.security.storage.MemoryStore<Asset>
implements AssetStore

Created by Jeff Gaynor
on 1/28/13 at 3:07 PM

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class edu.uiuc.ncsa.security.storage.MemoryStore
edu.uiuc.ncsa.security.storage.MemoryStore.MSInitializer
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Field Summary
 
Fields inherited from class edu.uiuc.ncsa.security.storage.MemoryStore
identifiableProvider
 
Constructor Summary
MemoryAssetStore(javax.inject.Provider<Asset> identifiableProvider)
           
 
Method Summary
 Asset get(String identifier)
          Simplifying calls.
 void save(String identifier, Asset v)
           
 
Methods inherited from class edu.uiuc.ncsa.security.storage.MemoryStore
create, getInitializer, realSave, register, save, update
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface edu.uiuc.ncsa.security.core.Store
create, register, save, update
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Constructor Detail

MemoryAssetStore

public MemoryAssetStore(javax.inject.Provider<Asset> identifiableProvider)
Method Detail

get

public Asset get(String identifier)
Description copied from interface: AssetStore
Simplifying calls. These should simply convert the string to an identifier.

Specified by:
get in interface AssetStore
Returns:

save

public void save(String identifier,
                 Asset v)
Specified by:
save in interface AssetStore


Copyright © 2013. All Rights Reserved.