org.apache.pluto.descriptors.services
Interface WebAppDescriptorService


public interface WebAppDescriptorService

WebApplication configuration as contained within the web.xml Deployment Descriptor.

Since:
Feb 28, 2005
Version:
$Id: WebAppDescriptorService.java 157038 2005-03-11 03:44:40Z ddewolf $

Method Summary
 WebAppDD read(java.io.InputStream in)
          Retrieve the WebApp deployment descriptor (web.xml).
 void write(WebAppDD dd, java.io.OutputStream out)
          Write the WebApp deployment descriptor (web.xml).
 

Method Detail

read

public WebAppDD read(java.io.InputStream in)
              throws java.io.IOException
Retrieve the WebApp deployment descriptor (web.xml).

Returns:
Object representation of the descriptor.
Throws:
java.io.IOException - if an IO error occurs.

write

public void write(WebAppDD dd,
                  java.io.OutputStream out)
           throws java.io.IOException
Write the WebApp deployment descriptor (web.xml).

Parameters:
dd -
out - output stream to which the descriptor should be written
Throws:
java.io.IOException - if an IO error occurs.


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.