public abstract class AbstractWebAppProvider extends AbstractLifeCycle implements AppProvider
Modifier and Type | Class and Description |
---|---|
class |
AbstractWebAppProvider.OSGiApp
OSGiApp
|
AbstractLifeCycle.AbstractLifeCycleListener
LifeCycle.Listener
Modifier and Type | Field and Description |
---|---|
static String[] |
__defaultConfigurations |
Constructor and Description |
---|
AbstractWebAppProvider(ServerInstanceWrapper wrapper) |
Modifier and Type | Method and Description |
---|---|
ContextHandler |
createContextHandler(App app)
Create a ContextHandler for an App
|
String[] |
getConfigurationClasses() |
static String[] |
getDefaultConfigurations() |
String |
getDefaultsDescriptor()
Get the defaultsDescriptor.
|
DeploymentManager |
getDeploymentManager() |
static String |
getOriginId(org.osgi.framework.Bundle contributor,
String path) |
ServerInstanceWrapper |
getServerInstanceWrapper() |
String |
getTldBundles() |
boolean |
isExtract() |
boolean |
isParentLoaderPriority()
Get the parentLoaderPriority.
|
void |
setConfigurationClasses(String[] configurations) |
static void |
setDefaultConfigurations(String[] defaultConfigs) |
void |
setDefaultsDescriptor(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(String tldBundles) |
addLifeCycleListener, doStart, doStop, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
public static String[] __defaultConfigurations
public AbstractWebAppProvider(ServerInstanceWrapper wrapper)
public static void setDefaultConfigurations(String[] defaultConfigs)
public static String[] getDefaultConfigurations()
public boolean isParentLoaderPriority()
public void setParentLoaderPriority(boolean parentLoaderPriority)
parentLoaderPriority
- the parentLoaderPriority to setpublic String getDefaultsDescriptor()
public void setDefaultsDescriptor(String defaultsDescriptor)
defaultsDescriptor
- the defaultsDescriptor to setpublic boolean isExtract()
public void setExtract(boolean extract)
public void setTldBundles(String tldBundles)
tldBundles
- Comma separated list of bundles that contain tld jars
that should be setup on the jetty instances created here.public String getTldBundles()
public void setConfigurationClasses(String[] configurations)
configurations
- The configuration class names.public String[] getConfigurationClasses()
public void setServerInstanceWrapper(ServerInstanceWrapper wrapper)
public ServerInstanceWrapper getServerInstanceWrapper()
public DeploymentManager getDeploymentManager()
public void setDeploymentManager(DeploymentManager deploymentManager)
AppProvider
setDeploymentManager
in interface AppProvider
AppProvider.setDeploymentManager(org.eclipse.jetty.deploy.DeploymentManager)
public ContextHandler createContextHandler(App app) throws Exception
AppProvider
createContextHandler
in interface AppProvider
app
- The AppException
Copyright © 1995-2015 Webtide. All Rights Reserved.