The performDeploy signature has changed to:
protected abstract void performDeploy(WebApplication webApp, String
warUrl,
WebDescriptorParser webAppParser) throws Exception;
and WebApplication is now:
public class WebApplication
{
/** Class loader of this application */
ClassLoader classLoader = null;
/** name of this application */
String name = "";
/** URL where this application was deployed from */
URL url;
/** The web app metadata from the web.xml and jboss-web.xml descriptors
*/
WebMetaData metaData;
/** Arbitary data object for storing application specific data */
Object data;
as the parsing of the web.xml and jboss-web.xml is done at the
AbstractWebContainer.
The context-root path and virtual-host needed by the servlet integration
service are
available as:
String ctxPath = webApp.getMetaData().getContextRoot();
String virtualHost = webApp.getMetaData().getVirtualHost();
I'm working on updating the Jetty 2.4 branch service to work with this and
use the
Jetty 4.0 release.
xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx
----- Original Message -----
From: "Julian Gosnell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 04, 2002 3:41 AM
Subject: [JBoss-dev] new virtual host & context root support
> Scott,
>
> I note that you have just checked this in to
> AbstractWebContainer....
>
> ContextPath is already a parameter on my
> performDeploy() method.
>
> Is there a particular reason for not simply replacing
> this with the value from jboss-web.xml and therefore
> making the decision once in AbstractWebContainer,
> instead of multiple times (once for each WebContainer)
> ?
>
> The virtual host stuff looks good - I shall try to fix
> Jetty up to this tonight.
>
>
> Cheers,
>
>
> Jules
>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development