org.apache.cocoon.servletservice.spring
Class ServletDecorator
java.lang.Object
org.apache.cocoon.servletservice.spring.ServletDecorator
- All Implemented Interfaces:
- org.springframework.beans.factory.xml.BeanDefinitionDecorator
public class ServletDecorator
- extends Object
- implements org.springframework.beans.factory.xml.BeanDefinitionDecorator
This BeanDefinitionDecorator
deals with the
http://cocoon.apache.org/schema/servlet
namespace which
defines following elements: context
: with optional attributes
mountPath
and contextPath
. With optional sub
elements init-params", "context-params" and "connections".
The actual creation of the servlet service (= a bean) is done by ServletFactoryBean
.
- Since:
- 1.0.0
- Version:
- $Id: ServletDecorator.html 1422810 2012-12-17 09:13:50Z ilgrosso $
Method Summary |
org.springframework.beans.factory.config.BeanDefinitionHolder |
decorate(Node source,
org.springframework.beans.factory.config.BeanDefinitionHolder holder,
org.springframework.beans.factory.xml.ParserContext ctx)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletDecorator
public ServletDecorator()
decorate
public org.springframework.beans.factory.config.BeanDefinitionHolder decorate(Node source,
org.springframework.beans.factory.config.BeanDefinitionHolder holder,
org.springframework.beans.factory.xml.ParserContext ctx)
- Specified by:
decorate
in interface org.springframework.beans.factory.xml.BeanDefinitionDecorator
Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.