org.apache.cocoon.servletservice.spring
Class ServletDecorator

java.lang.Object
  extended byorg.apache.cocoon.servletservice.spring.ServletDecorator
All Implemented Interfaces:
BeanDefinitionDecorator

public class ServletDecorator
extends Object
implements 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.java 647453 2008-04-12 14:17:41Z reinhard $

Constructor Summary
ServletDecorator()
           
 
Method Summary
 BeanDefinitionHolder decorate(Node source, BeanDefinitionHolder holder, ParserContext ctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletDecorator

public ServletDecorator()
Method Detail

decorate

public BeanDefinitionHolder decorate(Node source,
                                     BeanDefinitionHolder holder,
                                     ParserContext ctx)
Specified by:
decorate in interface BeanDefinitionDecorator


Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.