|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mortbay.jetty.ant.WebApplicationProxyImpl
public class WebApplicationProxyImpl
An abstraction layer over Jetty WebAppContext.
Constructor Summary | |
---|---|
WebApplicationProxyImpl(String name)
Default constructor. |
Method Summary | |
---|---|
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 |
getWebXmlFile()
|
boolean |
isFileScanned(String pathToFile)
Checks if a given file is scanned according to the internal configuration. |
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 |
setWebXml(File webXmlFile)
|
void |
start()
Starts this web application context. |
void |
stop()
Stops this web application context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebApplicationProxyImpl(String name)
name
- web application name.Method Detail |
---|
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 List getExtraScanTargets()
public List getContextHandlers()
public void setContextHandlers(List contextHandlers)
public Object getProxiedObject()
getProxiedObject
in interface WebApplicationProxy
com.sabre.ant.jetty.WebApplicationProxy#getProxiedObject()
public void start()
WebApplicationProxy
start
in interface WebApplicationProxy
com.sabre.ant.jetty.WebApplicationProxy#start()
public void stop()
WebApplicationProxy
stop
in interface WebApplicationProxy
com.sabre.ant.jetty.WebApplicationProxy#stop()
public void createApplicationContext(ContextHandlerCollection contexts)
WebApplicationProxy
createApplicationContext
in interface WebApplicationProxy
contexts
- collection of context this application should be added
to.com.sabre.ant.jetty.WebApplicationProxy#createApplicationContext(org.mortbay.jetty.handler.ContextHandlerCollection)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |