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.AbstractLifeCycleListenerLifeCycle.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, setScanIntervaladdLifeCycleListener, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stoppublic ConfigurationManager getConfigurationManager()
public void setConfigurationManager(ConfigurationManager configurationManager)
configurationManager - the configurationManager to setpublic ContextHandler createContextHandler(App app) throws Exception
AppProviderapp - The AppIOExceptionExceptionCopyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.