org.mortbay.jetty.plugin.util
Interface JettyPluginWebApplication

All Superinterfaces:
Proxy

public interface JettyPluginWebApplication
extends Proxy

JettyPluginWebApplication Type to hide differences in API for various jetty versions. Eg there will be an impl of this class for jetty5 (proxying WebApplicationContext) and jetty6 (proxying WebAppContext).


Method Summary
 void configure()
           
 String getContextPath()
           
 Object getProxiedObject()
           
 void setClassPathFiles(List classpathFiles)
           
 void setContextPath(String path)
           
 void setJettyEnvXmlFile(File jettyEnvXml)
           
 void setOverrideWebXmlFile(File overrideWebXml)
           
 void setTempDirectory(File tmpDir)
           
 void setWebAppSrcDir(File webAppDir)
           
 void setWebDefaultXmlFile(File webDefaultXml)
           
 void setWebXmlFile(File webxml)
           
 void start()
           
 void stop()
           
 

Method Detail

setContextPath

public void setContextPath(String path)

getContextPath

public String getContextPath()

setWebAppSrcDir

public void setWebAppSrcDir(File webAppDir)
                     throws Exception
Throws:
Exception

setTempDirectory

public void setTempDirectory(File tmpDir)

setWebDefaultXmlFile

public void setWebDefaultXmlFile(File webDefaultXml)
                          throws Exception
Throws:
Exception

setClassPathFiles

public void setClassPathFiles(List classpathFiles)

setWebXmlFile

public void setWebXmlFile(File webxml)

setJettyEnvXmlFile

public void setJettyEnvXmlFile(File jettyEnvXml)

setOverrideWebXmlFile

public void setOverrideWebXmlFile(File overrideWebXml)
                           throws Exception
Throws:
Exception

configure

public void configure()

start

public void start()
           throws Exception
Throws:
Exception

stop

public void stop()
          throws Exception
Throws:
Exception

getProxiedObject

public Object getProxiedObject()
Specified by:
getProxiedObject in interface Proxy


Copyright © {inceptionYear}-2007 Mort Bay Consulting. All Rights Reserved.