org.apache.cocoon.components.modules.input
Class SessionModule
java.lang.Object
org.apache.cocoon.util.AbstractLogEnabled
org.apache.cocoon.components.modules.input.AbstractInputModule
org.apache.cocoon.components.modules.input.AbstractJXPathModule
org.apache.cocoon.components.modules.input.SessionModule
- All Implemented Interfaces:
- Configurable, Disposable, org.apache.cocoon.components.modules.input.InputModule, ThreadSafe
- public class SessionModule
- extends org.apache.cocoon.components.modules.input.AbstractJXPathModule
- implements ThreadSafe
SessionModule provides access to Session object properties.
To get access to session properties use XPath syntax, e.g. to get the session
id use 'id'
as the attribute name.
More complex expressions with functions are also supported, e.g.:
'substring(id, 8)'
will return the substring of id property of the session object.
NOTE: The module does not create a new session.
- Version:
- $Id: SessionModule.html 1304280 2012-03-23 11:18:01Z ilgrosso $
Fields inherited from class org.apache.cocoon.components.modules.input.AbstractJXPathModule |
configuration, parameter |
Fields inherited from class org.apache.cocoon.components.modules.input.AbstractInputModule |
settings |
Fields inherited from interface org.apache.cocoon.components.modules.input.InputModule |
ROLE |
Methods inherited from class org.apache.cocoon.components.modules.input.AbstractJXPathModule |
configure, getAttribute, getAttributeNames, getAttributeValues |
Methods inherited from class org.apache.cocoon.components.modules.input.AbstractInputModule |
dispose |
Methods inherited from class org.apache.cocoon.util.AbstractLogEnabled |
getLogger, setLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SessionModule
public SessionModule()
getContextObject
protected Object getContextObject(Configuration modeConf,
Map objectModel)
Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.