Package org.ametys.plugins.frontedition
Class DispatchGenerator
- All Implemented Interfaces:
Poolable,Recyclable,Disposable,Component,LogEnabled,Serviceable,Generator,SitemapModelComponent,XMLProducer
Dispatch generator for the front edition
-
Nested Class Summary
Nested classes/interfaces inherited from class org.ametys.core.ui.dispatcher.DispatchGenerator
DispatchGenerator.ResponseHandler -
Field Summary
Fields inherited from class org.ametys.core.ui.dispatcher.DispatchGenerator
_requestAttributesHelperFields inherited from class org.apache.cocoon.generation.ServiceableGenerator
managerFields inherited from class org.apache.cocoon.generation.AbstractGenerator
objectModel, parameters, resolver, sourceFields inherited from class org.apache.cocoon.xml.AbstractXMLProducer
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringConvert the exception to a viewable traceprotected void_setContextInRequestAttributes(Map<String, Object> contextAsMap) Set the request attributes from the contextual parametersvoidservice(ServiceManager smanager) transmitAttributes(Map<String, Object> attributes) Filters attributes that should be transmitted to the dispatched requestMethods inherited from class org.ametys.core.ui.dispatcher.DispatchGenerator
_createUrl, _exceptionToMessageInformation, _getUrlPrefix, generateMethods inherited from class org.apache.cocoon.generation.ServiceableGenerator
disposeMethods inherited from class org.apache.cocoon.generation.AbstractGenerator
recycle, setupMethods inherited from class org.apache.cocoon.xml.AbstractXMLProducer
setConsumer, setContentHandler, setLexicalHandlerMethods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLoggerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cocoon.xml.XMLProducer
setConsumer
-
Constructor Details
-
DispatchGenerator
public DispatchGenerator()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Overrides:
servicein classDispatchGenerator- Throws:
ServiceException
-
_setContextInRequestAttributes
Description copied from class:DispatchGeneratorSet the request attributes from the contextual parameters- Overrides:
_setContextInRequestAttributesin classDispatchGenerator- Parameters:
contextAsMap- The contextual parameters
-
transmitAttributes
Description copied from class:DispatchGeneratorFilters attributes that should be transmitted to the dispatched request- Overrides:
transmitAttributesin classDispatchGenerator- Parameters:
attributes- The full list of attributes- Returns:
- The attributes filtered
-
_exceptionToStackTraceInformation
Description copied from class:DispatchGeneratorConvert the exception to a viewable trace- Overrides:
_exceptionToStackTraceInformationin classDispatchGenerator- Parameters:
t- The exception- Returns:
- The visible message
-