org.apache.cocoon.webapps.portal.context
Class SessionContextProviderImpl
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.webapps.portal.context.SessionContextProviderImpl
- All Implemented Interfaces:
- Disposable, Component, Contextualizable, LogEnabled, Serviceable, ThreadSafe, SessionContextProvider
public final class SessionContextProviderImpl
- extends AbstractLogEnabled
- implements SessionContextProvider, ThreadSafe, Component, Serviceable, Contextualizable, Disposable
Context provider for the portal context
- Version:
- CVS $Id: SessionContextProviderImpl.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Carsten Ziegeler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
xpathProcessor
protected XPathProcessor xpathProcessor
- The XPath Processor
SessionContextProviderImpl
public SessionContextProviderImpl()
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
service
public void service(ServiceManager manager)
throws ServiceException
- Specified by:
service
in interface Serviceable
- Throws:
ServiceException
contextualize
public void contextualize(Context context)
throws ContextException
- Specified by:
contextualize
in interface Contextualizable
- Throws:
ContextException
dispose
public void dispose()
- Specified by:
dispose
in interface Disposable
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.