public abstract class AbstractWebAppProvider extends AbstractLifeCycle implements AppProvider
Base class for Jetty DeploymentManager Providers that are capable of deploying a webapp, either from a bundle or an OSGi service.
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractWebAppProvider.OSGiApp
OSGiApp
Represents a deployable webapp.
|
AbstractLifeCycle.AbstractLifeCycleListenerLifeCycle.Listener| Constructor and Description |
|---|
AbstractWebAppProvider(ServerInstanceWrapper wrapper) |
| Modifier and Type | Method and Description |
|---|---|
ContextHandler |
createContextHandler(App app)
Create a ContextHandler for an App
|
java.lang.String[] |
getConfigurationClasses() |
java.lang.String |
getDefaultsDescriptor()
Get the defaultsDescriptor.
|
DeploymentManager |
getDeploymentManager() |
static java.lang.String |
getOriginId(org.osgi.framework.Bundle contributor,
java.lang.String path) |
ServerInstanceWrapper |
getServerInstanceWrapper() |
java.lang.String |
getTldBundles() |
boolean |
isExtract() |
boolean |
isParentLoaderPriority()
Get the parentLoaderPriority.
|
void |
setConfigurationClasses(java.lang.String[] configurations) |
void |
setDefaultsDescriptor(java.lang.String defaultsDescriptor)
Set the defaultsDescriptor.
|
void |
setDeploymentManager(DeploymentManager deploymentManager)
Set the Deployment Manager
|
void |
setExtract(boolean extract) |
void |
setParentLoaderPriority(boolean parentLoaderPriority)
Set the parentLoaderPriority.
|
void |
setServerInstanceWrapper(ServerInstanceWrapper wrapper) |
void |
setTldBundles(java.lang.String tldBundles) |
addLifeCycleListener, doStart, doStop, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, start, stop, stoppublic AbstractWebAppProvider(ServerInstanceWrapper wrapper)
public boolean isParentLoaderPriority()
public void setParentLoaderPriority(boolean parentLoaderPriority)
parentLoaderPriority - the parentLoaderPriority to setpublic java.lang.String getDefaultsDescriptor()
public void setDefaultsDescriptor(java.lang.String defaultsDescriptor)
defaultsDescriptor - the defaultsDescriptor to setpublic boolean isExtract()
public void setExtract(boolean extract)
public void setTldBundles(java.lang.String tldBundles)
tldBundles - Comma separated list of bundles that contain tld jars
that should be setup on the jetty instances created here.public java.lang.String getTldBundles()
public void setConfigurationClasses(java.lang.String[] configurations)
configurations - The configuration class names.public java.lang.String[] getConfigurationClasses()
public void setServerInstanceWrapper(ServerInstanceWrapper wrapper)
public ServerInstanceWrapper getServerInstanceWrapper()
public DeploymentManager getDeploymentManager()
public void setDeploymentManager(DeploymentManager deploymentManager)
AppProvidersetDeploymentManager in interface AppProviderdeploymentManager - the deployment managerAppProvider.setDeploymentManager(org.eclipse.jetty.deploy.DeploymentManager)public ContextHandler createContextHandler(App app) throws java.lang.Exception
AppProvidercreateContextHandler in interface AppProviderapp - The Appjava.io.IOException - if unable to create contextjava.lang.Exception - if unable to create contextpublic static java.lang.String getOriginId(org.osgi.framework.Bundle contributor,
java.lang.String path)
Copyright © 1995–2023 Webtide. All rights reserved.