org.jboss.seam.security.external.contexts
Class HashMapBeanStore

java.lang.Object
  extended by org.jboss.seam.security.external.contexts.HashMapBeanStore

public class HashMapBeanStore
extends Object

Non-serializable bean store, based on a hash map. This bean store should not be used for passivating scopes!

Author:
Marcel Kolsteren

Field Summary
protected  Map<Contextual<?>,ContextualInstance<? extends Object>> contextualInstanceMap
           
 
Constructor Summary
HashMapBeanStore()
           
 
Method Summary
 void clear()
           
<T> ContextualInstance<T>
get(Contextual<T> contextual)
           
<T> void
put(Contextual<T> contextual, ContextualInstance<T> beanInstance)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

contextualInstanceMap

protected Map<Contextual<?>,ContextualInstance<? extends Object>> contextualInstanceMap
Constructor Detail

HashMapBeanStore

public HashMapBeanStore()
Method Detail

get

public <T> ContextualInstance<T> get(Contextual<T> contextual)

clear

public void clear()

put

public <T> void put(Contextual<T> contextual,
                    ContextualInstance<T> beanInstance)


Copyright © 2011 Seam Framework. All Rights Reserved.