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
ConstructorDescriptionOSGiApp
(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 void
applyMetaInfContextXml
(Resource rootResource, String overrideBundleInstallLocation) void
protected void
The context pathApp
relating to how it is installed on the jetty server side.protected String
getPathsToRequiredBundles
(String requireTldBundles) protected WebAppContext
void
setContextPath
(String contextPath) void
setWebAppContext
(WebAppContext webApp) void
setWebAppPath
(String path) Methods inherited from class org.eclipse.jetty.osgi.boot.AbstractOSGiApp
deregisterAsOSGiService, findFile, getBundle, getBundleSymbolicName, getBundleVersionAsString, getFileAsResource, getFileAsResource, getRegistration, registerAsOSGiService, setRegistration
Methods 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:App
The context pathApp
relating to how it is installed on the jetty server side.- Overrides:
getContextPath
in 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
-