Changeset 51a1564 for apps/jetty


Ignore:
Timestamp:
Feb 13, 2010 1:46:10 PM (10 years ago)
Author:
sponge <sponge@…>
Branches:
master
Children:
abd96a9
Parents:
bd068058
Message:

Fix addWebApplications API goofup, Bump BOB version, which I forgot to do.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/jetty/java/src/org/mortbay/jetty/Server.java

    rbd068058 r51a1564  
    352352     * @param extract If true, extract war files
    353353     * @param java2CompliantClassLoader True if java2 compliance is applied to all webapplications
     354     * @exception IOException
     355     */
     356    public WebApplicationContext[] addWebApplications(String host,
     357                                                      String webapps,
     358                                                      String defaults,
     359                                                      boolean extract,
     360                                                      boolean java2CompliantClassLoader)
     361                throws IOException
     362    {
     363        return addWebApplications(host,webapps,defaults,extract,java2CompliantClassLoader,null);
     364
     365    }
     366    /* ------------------------------------------------------------ */
     367    /**  Add Web Applications.
     368     * Add auto webapplications to the server.  The name of the
     369     * webapp directory or war is used as the context name. If the
     370     * webapp matches the rootWebApp it is added as the "/" context.
     371     * @param host Virtual host name or null
     372     * @param webapps Directory file name or URL to look for auto
     373     * webapplication.
     374     * @param defaults The defaults xml filename or URL which is
     375     * loaded before any in the web app. Must respect the web.dtd.
     376     * If null the default defaults file is used. If the empty string, then
     377     * no defaults file is used.
     378     * @param extract If true, extract war files
     379     * @param java2CompliantClassLoader True if java2 compliance is applied to all webapplications
    354380     * @param Attributes[] A set of attributes to pass to setAttribute, format is first item is the key, second item is the value.
    355381     * @exception IOException
Note: See TracChangeset for help on using the changeset viewer.