org.eclipse.jetty.deploy.providers
类 ContextProvider
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.deploy.providers.ScanningAppProvider
org.eclipse.jetty.deploy.providers.ContextProvider
- 所有已实现的接口:
- AppProvider, LifeCycle
public class ContextProvider
- extends ScanningAppProvider
Context directory App Provider.
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.
| 从类 org.eclipse.jetty.deploy.providers.ScanningAppProvider 继承的方法 |
addScannerListener, createApp, doStart, doStop, fileAdded, fileChanged, fileRemoved, getDeployedApps, getDeploymentManager, getMonitoredDirName, getMonitoredDirResource, getScanInterval, isRecursive, setDeploymentManager, setMonitoredDir, setMonitoredDirName, setMonitoredDirResource, setRecursive, setScanInterval |
| 从类 org.eclipse.jetty.util.component.AbstractLifeCycle 继承的方法 |
addLifeCycleListener, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop |
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContextProvider
public ContextProvider()
getConfigurationManager
public ConfigurationManager getConfigurationManager()
setConfigurationManager
public void setConfigurationManager(ConfigurationManager configurationManager)
- Set the configurationManager.
- 参数:
configurationManager - the configurationManager to set
createContextHandler
public ContextHandler createContextHandler(App app)
throws Exception
- 从接口
AppProvider 复制的描述
- Create a ContextHandler for an App
- 参数:
app - The App
- 返回:
- A ContextHandler
- 抛出:
IOException
Exception
Copyright © 2013. All Rights Reserved.