| java.lang.Object org.apache.cocoon.webapps.session.components.ContextInputModule
ContextInputModule | public class ContextInputModule implements ThreadSafe,Serviceable,Disposable,InputModule(Code) | | This input module provides access to the information of a session
context using an XPath. The XPath expression that can be used
is the same as for the session transformer.
The first information in the path is the context, so for example
{session-context:authentication/authentication/ID} delivers the ID of the
current user and therefore delivers the same information as:
<session:getxml context="authentication" path="/authentication/ID"/>
using the session transformer.
author: Carsten Ziegeler version: CVS $Id: ContextInputModule.java 433543 2006-08-22 06:22:54Z crossley $ |
manager | protected ServiceManager manager(Code) | | |
dispose | public void dispose()(Code) | | |
getAttribute | public Object getAttribute(String name, Configuration modeConf, Map objectModel) throws ConfigurationException(Code) | | |
getAttributeNames | public Iterator getAttributeNames(Configuration modeConf, Map objectModel) throws ConfigurationException(Code) | | |
getAttributeValues | public Object[] getAttributeValues(String name, Configuration modeConf, Map objectModel) throws ConfigurationException(Code) | | |
service | public void service(ServiceManager manager) throws ServiceException(Code) | | |
|
|