public interface IWebBundleDeployerHelper
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
INTERNAL_SERVICE_PROP_UNKNOWN_CONTEXT_HANDLER_TYPE
when this property is present, the type of context handler registered is
not known in advance.
|
| Modifier and Type | Method and Description |
|---|---|
ContextHandler |
registerContext(org.osgi.framework.Bundle contributor,
java.lang.String contextFileRelativePath,
java.lang.String extraClasspath,
java.lang.String overrideBundleInstallLocation,
java.lang.String requireTldBundle,
ContextHandler handler)
This type of registration relies on jetty's complete context xml file.
|
WebAppContext |
registerWebapplication(org.osgi.framework.Bundle bundle,
java.lang.String webappFolderPath,
java.lang.String contextPath,
java.lang.String extraClasspath,
java.lang.String overrideBundleInstallLocation,
java.lang.String requireTldBundle,
java.lang.String webXmlPath,
java.lang.String defaultWebXmlPath,
WebAppContext webAppContext)
Deploy a new web application on the jetty server.
|
void |
unregister(ContextHandler contextHandler)
Stop a ContextHandler and remove it from the collection.
|
static final java.lang.String INTERNAL_SERVICE_PROP_UNKNOWN_CONTEXT_HANDLER_TYPE
WebAppContext registerWebapplication(org.osgi.framework.Bundle bundle, java.lang.String webappFolderPath, java.lang.String contextPath, java.lang.String extraClasspath, java.lang.String overrideBundleInstallLocation, java.lang.String requireTldBundle, java.lang.String webXmlPath, java.lang.String defaultWebXmlPath, WebAppContext webAppContext) throws java.lang.Exception
bundle - The bundlewebappFolderPath - The path to the root of the webapp. Must be a
path relative to bundle; either an absolute path.contextPath - The context path. Must start with "/"extraClasspath - overrideBundleInstallLocation - requireTldBundle - The list of bundles's symbolic names that contain
tld files that are required by this WAB.webXmlPath - defaultWebXmlPath - TODO: parameter descriptionjava.lang.Exceptionvoid unregister(ContextHandler contextHandler) throws java.lang.Exception
contextHandler - java.lang.ExceptionContextDeployer.undeploy(java.lang.String)ContextHandler registerContext(org.osgi.framework.Bundle contributor, java.lang.String contextFileRelativePath, java.lang.String extraClasspath, java.lang.String overrideBundleInstallLocation, java.lang.String requireTldBundle, ContextHandler handler) throws java.lang.Exception
contributor - contextFileRelativePath - extraClasspath - overrideBundleInstallLocation - requireTldBundle - The list of bundles'symbolic name that contain
tld files for this webapp.handler - the context handler passed in the server reference that
will be configured, deployed and started.java.lang.ExceptionCopyright © 2013 FuseSource, Corp.. All Rights Reserved.