|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.binding.collection.StringKeyedMapAdapter org.abstracthorizon.danube.webflow.DanubeExternalContext.SessionMap
public class DanubeExternalContext.SessionMap
Session map adapter
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
Map.Entry<K,V> |
Constructor Summary | |
---|---|
DanubeExternalContext.SessionMap()
Constructor |
Method Summary | |
---|---|
protected Object |
getAttribute(String key)
Returns session's attribute if session is available |
protected Iterator<String> |
getAttributeNames()
Returns enumeration of all attribute names. |
Object |
getMutex()
Returns session. |
protected Session |
getSession()
Returns controller's session manager's session if there is one. |
protected void |
removeAttribute(String key)
Removes attribute. |
protected void |
setAttribute(String key,
Object value)
Sets session attribute. |
Methods inherited from class org.springframework.binding.collection.StringKeyedMapAdapter |
---|
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
Constructor Detail |
---|
public DanubeExternalContext.SessionMap()
Method Detail |
---|
protected Session getSession()
null
otherwise.
protected Object getAttribute(String key)
getAttribute
in class org.springframework.binding.collection.StringKeyedMapAdapter
null
if session or attribute is not availableprotected void setAttribute(String key, Object value)
setAttribute
in class org.springframework.binding.collection.StringKeyedMapAdapter
key
- attribute keyvalue
- attribute valueprotected void removeAttribute(String key)
removeAttribute
in class org.springframework.binding.collection.StringKeyedMapAdapter
key
- attribute's keyprotected Iterator<String> getAttributeNames()
getAttributeNames
in class org.springframework.binding.collection.StringKeyedMapAdapter
public Object getMutex()
getMutex
in interface org.springframework.binding.collection.SharedMap
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |