org.apache.pluto.util.assemble
Class WebXmlRewritingAssembler
java.lang.Object
org.apache.pluto.util.assemble.WebXmlRewritingAssembler
- All Implemented Interfaces:
- Assembler
- Direct Known Subclasses:
- AbstractArchiveAssembler, FileAssembler
public abstract class WebXmlRewritingAssembler
- extends Object
- implements Assembler
- Version:
- $Revision: 564921 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebXmlRewritingAssembler
public WebXmlRewritingAssembler()
updateWebappDescriptor
protected void updateWebappDescriptor(InputStream webXmlIn,
InputStream portletXmlIn,
OutputStream webXmlOut,
String dispatchServletClass)
throws IOException
- Updates the webapp descriptor by injecting portlet wrapper servlet
definitions and mappings.
- Parameters:
webXmlIn
- input stream to the webapp descriptor, it will be closed before the web xml is written out.portletXmlIn
- input stream to the portlet app descriptor, it will be closed before the web xml is written out.webXmlOut
- output stream to the webapp descriptor, it will be flushed and closed.dispatchServletClass
- The name of the servlet class to use for
handling portlet requests
- Throws:
IOException
Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.