Package org.eclipse.jetty.osgi.boot
Class AbstractWebAppProvider.OSGiApp
java.lang.Object
org.eclipse.jetty.deploy.App
org.eclipse.jetty.osgi.boot.AbstractOSGiApp
org.eclipse.jetty.osgi.boot.AbstractWebAppProvider.OSGiApp
- Direct Known Subclasses:
ServiceWebAppProvider.ServiceApp
- Enclosing class:
- AbstractWebAppProvider
OSGiApp
Represents a deployable webapp.
-
Field Summary
Fields inherited from class org.eclipse.jetty.osgi.boot.AbstractOSGiApp
_bundle, _properties, _registration -
Constructor Summary
ConstructorsConstructorDescriptionOSGiApp(DeploymentManager manager, AppProvider provider, org.osgi.framework.Bundle bundle, String originId) OSGiApp(DeploymentManager manager, AppProvider provider, org.osgi.framework.Bundle bundle, Dictionary properties, String originId) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyMetaInfContextXml(Resource rootResource, String overrideBundleInstallLocation) voidprotected voidThe context pathApprelating to how it is installed on the jetty server side.protected StringgetPathsToRequiredBundles(String requireTldBundles) protected WebAppContextvoidsetContextPath(String contextPath) voidsetWebAppContext(WebAppContext webApp) voidsetWebAppPath(String path) Methods inherited from class org.eclipse.jetty.osgi.boot.AbstractOSGiApp
deregisterAsOSGiService, findFile, getBundle, getBundleSymbolicName, getBundleVersionAsString, getFileAsResource, getFileAsResource, getRegistration, registerAsOSGiService, setRegistrationMethods inherited from class org.eclipse.jetty.deploy.App
getAppProvider, getContextHandler, getContextId, getDeploymentManager, getOriginId, toString
-
Constructor Details
-
OSGiApp
public OSGiApp(DeploymentManager manager, AppProvider provider, org.osgi.framework.Bundle bundle, String originId) -
OSGiApp
public OSGiApp(DeploymentManager manager, AppProvider provider, org.osgi.framework.Bundle bundle, Dictionary properties, String originId)
-
-
Method Details
-
setWebAppContext
-
getContextPath
Description copied from class:AppThe context pathApprelating to how it is installed on the jetty server side.- Overrides:
getContextPathin classApp- Returns:
- the contextPath for the App
-
setContextPath
-
getBundlePath
-
setWebAppPath
-
createContextHandler
- Throws:
Exception
-
createWebApp
- Throws:
Exception
-
newWebApp
-
configureWebApp
- Throws:
Exception
-
getPathsToRequiredBundles
- Throws:
Exception
-
applyMetaInfContextXml
protected void applyMetaInfContextXml(Resource rootResource, String overrideBundleInstallLocation) throws Exception - Throws:
Exception
-