|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.jetty.util.component.AbstractLifeCycle org.eclipse.jetty.deploy.providers.ScanningAppProvider org.eclipse.jetty.deploy.providers.WebAppProvider
public class WebAppProvider
Context directory App Provider.
This specialization of MonitoredDirAppProvider
is the
replacement for WebAppDeployer
and it will scan a directory
only for war files or directories files.
WebAppDeployer
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle |
---|
AbstractLifeCycle.AbstractLifeCycleListener |
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle |
---|
LifeCycle.Listener |
Field Summary |
---|
Fields inherited from class org.eclipse.jetty.deploy.providers.ScanningAppProvider |
---|
_filenameFilter |
Fields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle |
---|
_listeners, FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING |
Constructor Summary | |
---|---|
WebAppProvider()
|
Method Summary | |
---|---|
ContextHandler |
createContextHandler(App app)
Create a ContextHandler for an App |
String[] |
getConfigurationClasses()
|
String |
getContextXmlDir()
|
String |
getDefaultsDescriptor()
Get the defaultsDescriptor. |
boolean |
isExtractWars()
Get the extractWars. |
boolean |
isParentLoaderPriority()
Get the parentLoaderPriority. |
void |
setConfigurationClasses(String[] configurations)
|
void |
setContextXmlDir(String contextsDir)
Set the directory in which to look for context XML files. |
void |
setDefaultsDescriptor(String defaultsDescriptor)
Set the defaultsDescriptor. |
void |
setExtractWars(boolean extractWars)
Set the extractWars. |
void |
setParentLoaderPriority(boolean parentLoaderPriority)
Set the parentLoaderPriority. |
Methods inherited from class org.eclipse.jetty.deploy.providers.ScanningAppProvider |
---|
createApp, doStart, doStop, getDeployedApps, getDeploymentManager, getMonitoredDir, getScanInterval, isRecursive, setDeploymentManager, setMonitoredDir, setMonitoredDir, setRecursive, setScanInterval |
Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle |
---|
addLifeCycleListener, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.jetty.util.component.LifeCycle |
---|
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop |
Constructor Detail |
---|
public WebAppProvider()
Method Detail |
---|
public boolean isExtractWars()
public void setExtractWars(boolean extractWars)
extractWars
- the extractWars to setpublic boolean isParentLoaderPriority()
public void setParentLoaderPriority(boolean parentLoaderPriority)
parentLoaderPriority
- the parentLoaderPriority to setpublic String getDefaultsDescriptor()
public void setDefaultsDescriptor(String defaultsDescriptor)
defaultsDescriptor
- the defaultsDescriptor to setpublic String getContextXmlDir()
public void setContextXmlDir(String contextsDir)
If a webapp call "foo/" or "foo.war" is discovered in the monitored directory, then the ContextXmlDir is examined to see if a foo.xml file exists. If it does, then this deployer will not deploy the webapp and the ContextProvider should be used to act on the foo.xml file.
contextsDir
- ContextProvider
public void setConfigurationClasses(String[] configurations)
configurations
- The configuration class names.public String[] getConfigurationClasses()
public ContextHandler createContextHandler(App app) throws Exception
AppProvider
app
- The App
IOException
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |