Package org.eclipse.jetty.osgi.boot
Class AbstractContextProvider
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.osgi.boot.AbstractContextProvider
- All Implemented Interfaces:
AppProvider
,LifeCycle
- Direct Known Subclasses:
BundleContextProvider
,ServiceContextProvider
AbstractContextProvider
Base class for DeploymentManager Providers that can deploy ContextHandlers into
Jetty that have been discovered via OSGI either as bundles or services.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListener, AbstractLifeCycle.StopException
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateContextHandler
(App app) Create a ContextHandler for an Appvoid
setDeploymentManager
(DeploymentManager deploymentManager) Set the Deployment ManagerMethods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addEventListener, doStart, doStop, getEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeEventListener, setEventListeners, start, stop, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.jetty.util.component.LifeCycle
addEventListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeEventListener, start, stop
-
Constructor Details
-
AbstractContextProvider
-
-
Method Details
-
getServerInstanceWrapper
-
createContextHandler
Description copied from interface:AppProvider
Create a ContextHandler for an App- Specified by:
createContextHandler
in interfaceAppProvider
- Parameters:
app
- The App- Returns:
- A ContextHandler
- Throws:
IOException
- if unable to create contextException
- if unable to create context
-
setDeploymentManager
Description copied from interface:AppProvider
Set the Deployment Manager- Specified by:
setDeploymentManager
in interfaceAppProvider
- Parameters:
deploymentManager
- the deployment manager
-
getDeploymentManager
-