org.apache.cocoon.webapps.session.context
Class StandardSessionContextProvider
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.webapps.session.context.StandardSessionContextProvider
- All Implemented Interfaces:
- Contextualizable, Disposable, LogEnabled, Serviceable, SessionContextProvider, ThreadSafe
- public final class StandardSessionContextProvider
- extends AbstractLogEnabled
- implements SessionContextProvider, ThreadSafe, Contextualizable, Serviceable, Disposable
Context provider for the temporarily context, the request and the
response context.
- Version:
- CVS $Id: StandardSessionContextProvider.java 306577 2005-10-06 10:23:21Z cziegeler $
- Author:
- Carsten Ziegeler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
context
protected Context context
manager
protected ServiceManager manager
xpathProcessor
protected XPathProcessor xpathProcessor
- The xpath processor
resolver
protected SourceResolver resolver
- The Source Resolver
StandardSessionContextProvider
public StandardSessionContextProvider()
getSessionContext
public SessionContext getSessionContext(String name)
throws ProcessingException
- Get the context
- Specified by:
getSessionContext
in interface SessionContextProvider
- Parameters:
name
- The name of the context
- Returns:
- The context
- Throws:
ProcessingException
- If the context is not available.
existsSessionContext
public boolean existsSessionContext(String name)
throws ProcessingException
- Does the context exist?
- Specified by:
existsSessionContext
in interface SessionContextProvider
- Throws:
ProcessingException
contextualize
public void contextualize(Context context)
throws ContextException
- Specified by:
contextualize
in interface Contextualizable
- Throws:
ContextException
service
public void service(ServiceManager manager)
throws ServiceException
- Specified by:
service
in interface Serviceable
- Throws:
ServiceException
dispose
public void dispose()
- Specified by:
dispose
in interface Disposable
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.