org.eclipse.jetty.deploy
接口 AppProvider

所有超级接口:
LifeCycle
所有已知实现类:
ContextProvider, OverlayedAppProvider, ScanningAppProvider, WebAppProvider

public interface AppProvider
extends LifeCycle

Object responsible for providing Apps to the DeploymentManager


嵌套类摘要
 
从接口 org.eclipse.jetty.util.component.LifeCycle 继承的嵌套类/接口
LifeCycle.Listener
 
方法摘要
 ContextHandler createContextHandler(App app)
          Create a ContextHandler for an App
 void setDeploymentManager(DeploymentManager deploymentManager)
          Set the Deployment Manager
 
从接口 org.eclipse.jetty.util.component.LifeCycle 继承的方法
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
 

方法详细信息

setDeploymentManager

void setDeploymentManager(DeploymentManager deploymentManager)
Set the Deployment Manager

参数:
deploymentManager -
抛出:
IllegalStateException - if the provider LifeCycle.isRunning().

createContextHandler

ContextHandler createContextHandler(App app)
                                    throws Exception
Create a ContextHandler for an App

参数:
app - The App
返回:
A ContextHandler
抛出:
IOException
Exception


Copyright © 2013. All Rights Reserved.