org.apache.pluto.descriptors.services
Interface WebAppDescriptorService

All Known Implementing Classes:
AbstractWebAppDescriptorService

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 $
Author:
David H. DeWolf

Method Summary
 java.lang.String getContextPath()
          Retrieve the name of the context path within which WebApps retrieved from this service reside.
 WebAppDD read()
          Retrieve the WebApp deployment descriptor (web.xml).
 void write(WebAppDD dd)
          Write the WebApp deployment descriptor (web.xml).
 

Method Detail

getContextPath

public java.lang.String getContextPath()
Retrieve the name of the context path within which WebApps retrieved from this service reside.

Returns:

read

public WebAppDD read()
              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)
           throws java.io.IOException
Write the WebApp deployment descriptor (web.xml).

Parameters:
dd -
Throws:
java.io.IOException - if an IO error occurs.


Copyright © 2003-2007 . All Rights Reserved.