org.codehaus.enunciate.main.webapp
Interface WebAppFragment

All Known Implementing Classes:
BaseWebAppFragment

public interface WebAppFragment

Interface for modules that produce a part of a web application.

Author:
Ryan Heaton

Method Summary
 java.io.File getBaseDir()
          The directory whose contents will be copied to the webapp base.
 java.util.Map<java.lang.String,java.lang.String> getContextParameters()
          The web app context parameters.
 java.util.List<WebAppComponent> getFilters()
          The servlet filters.
 java.lang.String getId()
          Unique ID used to uniquely identify this webapp fragment.
 java.util.List<java.lang.String> getListeners()
          The listeners.
 java.util.Map<java.lang.String,java.lang.String> getMimeMappings()
          The mime mappings (extension-to-mime type).
 java.util.List<WebAppComponent> getServlets()
          The servlets.
 

Method Detail

getId

java.lang.String getId()
Unique ID used to uniquely identify this webapp fragment.

Returns:
Unique ID used to uniquely identify this webapp fragment.

getContextParameters

java.util.Map<java.lang.String,java.lang.String> getContextParameters()
The web app context parameters.

Returns:
The web app context parameters.

getFilters

java.util.List<WebAppComponent> getFilters()
The servlet filters.

Returns:
The servlet filters.

getListeners

java.util.List<java.lang.String> getListeners()
The listeners.

Returns:
The listeners.

getServlets

java.util.List<WebAppComponent> getServlets()
The servlets.

Returns:
The servlets.

getMimeMappings

java.util.Map<java.lang.String,java.lang.String> getMimeMappings()
The mime mappings (extension-to-mime type).

Returns:
The mime mappings (extension-to-mime type).

getBaseDir

java.io.File getBaseDir()
The directory whose contents will be copied to the webapp base.

Returns:
The directory whose contents will be copied to the webapp base.