Package org.nuxeo.ecm.webengine.session
Class ComponentMap<T extends Component>
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<String,T>
-
- org.nuxeo.ecm.webengine.session.ComponentMap<T>
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,T>
public class ComponentMap<T extends Component> extends HashMap<String,T>
- Author:
- Bogdan Stefanescu
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Constructor Description ComponentMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy(UserSession session)
T
getComponent()
void
setComponent(T comp)
-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
-
-
-
Method Detail
-
getComponent
public T getComponent()
-
setComponent
public void setComponent(T comp)
-
destroy
public void destroy(UserSession session) throws SessionException
- Throws:
SessionException
-
-