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.util.component.AbstractLifeCycle 继承的嵌套类/接口
AbstractLifeCycle.AbstractLifeCycleListener
 
从接口 org.eclipse.jetty.util.component.LifeCycle 继承的嵌套类/接口
LifeCycle.Listener
 
字段摘要
 
从类 org.eclipse.jetty.deploy.providers.ScanningAppProvider 继承的字段
_filenameFilter
 
从类 org.eclipse.jetty.util.component.AbstractLifeCycle 继承的字段
_listeners, FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING
 
构造方法摘要
ContextProvider()
           
 
方法摘要
 ContextHandler createContextHandler(App app)
          Create a ContextHandler for an App
 ConfigurationManager getConfigurationManager()
           
 void setConfigurationManager(ConfigurationManager configurationManager)
          Set the configurationManager.
 
从类 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
 
从接口 org.eclipse.jetty.util.component.LifeCycle 继承的方法
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
 

构造方法详细信息

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.