org.mule.transport.servlet.jetty
Class WebAppDeployer
java.lang.Object
org.mortbay.component.AbstractLifeCycle
org.mule.transport.servlet.jetty.WebAppDeployer
- All Implemented Interfaces:
- org.mortbay.component.LifeCycle
public class WebAppDeployer
- extends org.mortbay.component.AbstractLifeCycle
A repackaged version of the Jetty WebAppDeployer which makes it possible to
override the server classes of the WebAppContext;
Nested classes/interfaces inherited from interface org.mortbay.component.LifeCycle |
org.mortbay.component.LifeCycle.Listener |
Fields inherited from class org.mortbay.component.AbstractLifeCycle |
_listeners |
Methods inherited from class org.mortbay.component.AbstractLifeCycle |
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebAppDeployer
public WebAppDeployer()
getConfigurationClasses
public String[] getConfigurationClasses()
setConfigurationClasses
public void setConfigurationClasses(String[] configurationClasses)
getContexts
public org.mortbay.jetty.HandlerContainer getContexts()
setContexts
public void setContexts(org.mortbay.jetty.HandlerContainer contexts)
getDefaultsDescriptor
public String getDefaultsDescriptor()
setDefaultsDescriptor
public void setDefaultsDescriptor(String defaultsDescriptor)
isExtract
public boolean isExtract()
setExtract
public void setExtract(boolean extract)
isParentLoaderPriority
public boolean isParentLoaderPriority()
setParentLoaderPriority
public void setParentLoaderPriority(boolean parentPriorityClassLoading)
getWebAppDir
public String getWebAppDir()
setWebAppDir
public void setWebAppDir(String dir)
getAllowDuplicates
public boolean getAllowDuplicates()
setAllowDuplicates
public void setAllowDuplicates(boolean allowDuplicates)
- Parameters:
allowDuplicates
- If false, do not deploy webapps that have already been deployed or duplicate context path
getServerClasses
public String[] getServerClasses()
setServerClasses
public void setServerClasses(String[] serverClasses)
getSystemClasses
public String[] getSystemClasses()
setSystemClasses
public void setSystemClasses(String[] systemClasses)
doStart
public void doStart()
throws Exception
- Overrides:
doStart
in class org.mortbay.component.AbstractLifeCycle
- Throws:
Exception
scan
public void scan()
throws Exception
- Scan for webapplications.
- Throws:
Exception
doStop
public void doStop()
throws Exception
- Overrides:
doStop
in class org.mortbay.component.AbstractLifeCycle
- Throws:
Exception
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.