public class WebApplicationProxyImpl extends Object implements WebApplicationProxy
Modifier and Type | Class and Description |
---|---|
static class |
WebApplicationProxyImpl.AntServletHandler |
static class |
WebApplicationProxyImpl.AntServletHolder |
static class |
WebApplicationProxyImpl.AntWebAppContext |
Constructor and Description |
---|
WebApplicationProxyImpl(String name)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
createApplicationContext(ContextHandlerCollection contexts)
Creates a new Jetty web application context from this object.
|
List |
getClassPathFiles() |
List |
getContextHandlers() |
String |
getContextPath() |
List |
getExtraScanTargets() |
List |
getLibraries() |
String |
getName() |
Object |
getProxiedObject() |
File |
getSourceDirectory() |
File |
getWebDefaultXmlFile() |
File |
getWebXmlFile() |
boolean |
isFileScanned(String pathToFile)
Checks if a given file is scanned according to the internal
configuration.
|
void |
setAttributes(List attributes) |
static void |
setBaseTempDirectory(File tempDirectory) |
void |
setClassPathFiles(List classPathFiles) |
void |
setContextHandlers(List contextHandlers) |
void |
setContextPath(String contextPath) |
void |
setExtraScanTargetsConfiguration(FileMatchingConfiguration extraScanTargetsConfiguration) |
void |
setJettyEnvXml(File jettyEnvXml) |
void |
setLibrariesConfiguration(FileMatchingConfiguration classesConfiguration) |
void |
setSourceDirectory(File warFile) |
void |
setWebDefaultXmlFile(File webDefaultXmlfile) |
void |
setWebXml(File webXmlFile) |
void |
start()
Starts this web application context.
|
void |
stop()
Stops this web application context.
|
public static void setBaseTempDirectory(File tempDirectory)
public List getClassPathFiles()
public String getContextPath()
public String getName()
public File getSourceDirectory()
public File getWebXmlFile()
public void setSourceDirectory(File warFile)
public void setContextPath(String contextPath)
public void setWebXml(File webXmlFile)
public void setJettyEnvXml(File jettyEnvXml)
public void setClassPathFiles(List classPathFiles)
public boolean isFileScanned(String pathToFile)
pathToFile
- a fully qualified path to file.public void setLibrariesConfiguration(FileMatchingConfiguration classesConfiguration)
public List getLibraries()
public void setExtraScanTargetsConfiguration(FileMatchingConfiguration extraScanTargetsConfiguration)
public void setAttributes(List attributes)
public List getExtraScanTargets()
public List getContextHandlers()
public void setContextHandlers(List contextHandlers)
public Object getProxiedObject()
getProxiedObject
in interface WebApplicationProxy
WebApplicationProxy.getProxiedObject()
public void start()
WebApplicationProxy
start
in interface WebApplicationProxy
WebApplicationProxy.start()
public void stop()
WebApplicationProxy
stop
in interface WebApplicationProxy
WebApplicationProxy.stop()
public void createApplicationContext(ContextHandlerCollection contexts)
WebApplicationProxy
createApplicationContext
in interface WebApplicationProxy
contexts
- collection of context this application should be added
to.WebApplicationProxy.createApplicationContext(org.eclipse.jetty.server.handler.ContextHandlerCollection)
public File getWebDefaultXmlFile()
public void setWebDefaultXmlFile(File webDefaultXmlfile)
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.