public class ContextProvider extends ScanningAppProvider
This specialization of ScanningAppProvider
is the
replacement for the old (and deprecated) org.eclipse.jetty.deploy.ContextDeployer
and it will scan a directory
only for context.xml files.
AbstractLifeCycle.AbstractLifeCycleListener
LifeCycle.Listener
_filenameFilter
_listeners, FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING
Constructor and Description |
---|
ContextProvider() |
Modifier and Type | Method and Description |
---|---|
ContextHandler |
createContextHandler(App app)
Create a ContextHandler for an App
|
ConfigurationManager |
getConfigurationManager() |
void |
setConfigurationManager(ConfigurationManager configurationManager)
Set the configurationManager.
|
addScannerListener, createApp, doStart, doStop, fileAdded, fileChanged, fileRemoved, getDeployedApps, getDeploymentManager, getMonitoredDirName, getMonitoredDirResource, getScanInterval, isRecursive, setDeploymentManager, setMonitoredDir, setMonitoredDirName, setMonitoredDirResource, setRecursive, setScanInterval
addLifeCycleListener, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
public ConfigurationManager getConfigurationManager()
public void setConfigurationManager(ConfigurationManager configurationManager)
configurationManager
- the configurationManager to setpublic ContextHandler createContextHandler(App app) throws Exception
AppProvider
app
- The AppIOException
Exception
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.