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(org.eclipse.jetty.deploy.DeploymentManager manager, org.eclipse.jetty.deploy.AppProvider provider, org.osgi.framework.Bundle bundle, String originId) OSGiApp(org.eclipse.jetty.deploy.DeploymentManager manager, org.eclipse.jetty.deploy.AppProvider provider, org.osgi.framework.Bundle bundle, Dictionary properties, String originId) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyMetaInfContextXml(org.eclipse.jetty.util.resource.Resource rootResource, String overrideBundleInstallLocation) voidorg.eclipse.jetty.server.handler.ContextHandlerprotected voidprotected StringgetPathsToRequiredBundles(String requireTldBundles) protected org.eclipse.jetty.webapp.WebAppContextvoidsetContextPath(String contextPath) voidsetWebAppContext(org.eclipse.jetty.webapp.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(org.eclipse.jetty.deploy.DeploymentManager manager, org.eclipse.jetty.deploy.AppProvider provider, org.osgi.framework.Bundle bundle, String originId) -
OSGiApp
public OSGiApp(org.eclipse.jetty.deploy.DeploymentManager manager, org.eclipse.jetty.deploy.AppProvider provider, org.osgi.framework.Bundle bundle, Dictionary properties, String originId)
-
-
Method Details
-
setWebAppContext
public void setWebAppContext(org.eclipse.jetty.webapp.WebAppContext webApp) -
getContextPath
- Overrides:
getContextPathin classorg.eclipse.jetty.deploy.App
-
setContextPath
-
getBundlePath
-
setWebAppPath
-
createContextHandler
- Throws:
Exception
-
createWebApp
- Throws:
Exception
-
newWebApp
protected org.eclipse.jetty.webapp.WebAppContext newWebApp() -
configureWebApp
- Throws:
Exception
-
getPathsToRequiredBundles
- Throws:
Exception
-
applyMetaInfContextXml
protected void applyMetaInfContextXml(org.eclipse.jetty.util.resource.Resource rootResource, String overrideBundleInstallLocation) throws Exception - Throws:
Exception
-