org.eclipse.jetty.deploy
Interface AppProvider

All Superinterfaces:
org.eclipse.jetty.util.component.LifeCycle
All Known Implementing Classes:
ContextProvider, ScanningAppProvider, WebAppProvider

public interface AppProvider
extends org.eclipse.jetty.util.component.LifeCycle

Object responsible for providing Apps to the DeploymentManager


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
org.eclipse.jetty.util.component.LifeCycle.Listener
 
Method Summary
 org.eclipse.jetty.server.handler.ContextHandler createContextHandler(App app)
          Create a ContextHandler for an App
 void setDeploymentManager(DeploymentManager deploymentManager)
          Set the Deployment Manager
 
Methods inherited from interface org.eclipse.jetty.util.component.LifeCycle
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
 

Method Detail

setDeploymentManager

void setDeploymentManager(DeploymentManager deploymentManager)
Set the Deployment Manager

Parameters:
deploymentManager -
Throws:
IllegalStateException - if the provider LifeCycle.isRunning().

createContextHandler

org.eclipse.jetty.server.handler.ContextHandler createContextHandler(App app)
                                                                     throws Exception
Create a ContextHandler for an App

Parameters:
app - The App
Returns:
A ContextHandler
Throws:
IOException
Exception


Copyright © 2011 FuseSource, Corp.. All Rights Reserved.