|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.deploy.WebAppDeployer
public class WebAppDeployer
Legacy Web Application Deployer.
Note: The WebAppDeployer is being phased out of Jetty in favor of the DeploymentManager and
WebAppProvider implementation.
The class searches a directory for and deploys standard web application. At startup, the directory specified by
setWebAppDir(String) is searched for subdirectories (excluding hidden and CVS) or files ending with ".zip"
or "*.war". For each webapp discovered is passed to a new instance of WebAppContext (or a subclass specified
by getContexts(). ContextHandlerCollection.getContextClass()
This deployer does not do hot deployment or undeployment. Nor does it support per web application configuration. For
these features see ContextDeployer.
DeploymentManager,
ScanningAppProvider,
ContextDeployer| 嵌套类摘要 |
|---|
| 从类 org.eclipse.jetty.util.component.AbstractLifeCycle 继承的嵌套类/接口 |
|---|
AbstractLifeCycle.AbstractLifeCycleListener |
| 从接口 org.eclipse.jetty.util.component.LifeCycle 继承的嵌套类/接口 |
|---|
LifeCycle.Listener |
| 字段摘要 |
|---|
| 从类 org.eclipse.jetty.util.component.AbstractLifeCycle 继承的字段 |
|---|
_listeners, FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING |
| 构造方法摘要 | |
|---|---|
WebAppDeployer()
已过时。 |
|
| 方法摘要 | |
|---|---|
void |
doStart()
已过时。 |
void |
doStop()
已过时。 |
boolean |
getAllowDuplicates()
已过时。 |
Object |
getAttribute(String name)
已过时。 Get a contextAttribute that will be set for every Context deployed by this deployer. |
String[] |
getConfigurationClasses()
已过时。 |
HandlerCollection |
getContexts()
已过时。 |
String |
getDefaultsDescriptor()
已过时。 |
String |
getWebAppDir()
已过时。 |
boolean |
isExtract()
已过时。 |
boolean |
isParentLoaderPriority()
已过时。 |
void |
removeAttribute(String name)
已过时。 Remove a contextAttribute that will be set for every Context deployed by this deployer. |
void |
scan()
已过时。 Scan for webapplications. |
void |
setAllowDuplicates(boolean allowDuplicates)
已过时。 |
void |
setAttribute(String name,
Object value)
已过时。 Set a contextAttribute that will be set for every Context deployed by this deployer. |
void |
setConfigurationClasses(String[] configurationClasses)
已过时。 |
void |
setContexts(HandlerCollection contexts)
已过时。 |
void |
setDefaultsDescriptor(String defaultsDescriptor)
已过时。 |
void |
setExtract(boolean extract)
已过时。 |
void |
setParentLoaderPriority(boolean parentPriorityClassLoading)
已过时。 |
void |
setWebAppDir(String dir)
已过时。 |
| 从类 org.eclipse.jetty.util.component.AbstractLifeCycle 继承的方法 |
|---|
addLifeCycleListener, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public WebAppDeployer()
| 方法详细信息 |
|---|
public String[] getConfigurationClasses()
public void setConfigurationClasses(String[] configurationClasses)
public HandlerCollection getContexts()
public void setContexts(HandlerCollection contexts)
public String getDefaultsDescriptor()
public void setDefaultsDescriptor(String defaultsDescriptor)
public boolean isExtract()
public void setExtract(boolean extract)
public boolean isParentLoaderPriority()
public void setParentLoaderPriority(boolean parentPriorityClassLoading)
public String getWebAppDir()
public void setWebAppDir(String dir)
public boolean getAllowDuplicates()
public void setAllowDuplicates(boolean allowDuplicates)
allowDuplicates - If false, do not deploy webapps that have already been deployed or duplicate context path
public void setAttribute(String name,
Object value)
name - value - public Object getAttribute(String name)
name -
public void removeAttribute(String name)
name -
public void doStart()
throws Exception
AbstractLifeCycle 中的 doStartException
public void scan()
throws Exception
Exception
public void doStop()
throws Exception
AbstractLifeCycle 中的 doStopException
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||