|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IWebBundleDeployerHelper
Internal interface for the class that deploys a webapp on a server. Used as we migrate from the single instance of the jety server to multiple jetty servers.
Field Summary | |
---|---|
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. |
Method Summary | |
---|---|
ContextHandler |
registerContext(org.osgi.framework.Bundle contributor,
java.lang.String contextFileRelativePath,
java.lang.String extraClasspath,
java.lang.String overrideBundleInstallLocation,
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 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. |
Field Detail |
---|
static final java.lang.String INTERNAL_SERVICE_PROP_UNKNOWN_CONTEXT_HANDLER_TYPE
Method Detail |
---|
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 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
- webXmlPath
- defaultWebXmlPath
- TODO: parameter description
java.lang.Exception
void unregister(ContextHandler contextHandler) throws java.lang.Exception
contextHandler
-
java.lang.Exception
ContextDeployer.undeploy(java.lang.String)
ContextHandler registerContext(org.osgi.framework.Bundle contributor, java.lang.String contextFileRelativePath, java.lang.String extraClasspath, java.lang.String overrideBundleInstallLocation, ContextHandler handler) throws java.lang.Exception
contributor
- contextFileRelativePath
- extraClasspath
- overrideBundleInstallLocation
- handler
- the context handler passed in the server
reference that will be configured, deployed and started.
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |