com.caucho.resin
Class WebAppLocalDeployEmbed

java.lang.Object
  extended by com.caucho.resin.WebAppEmbed
      extended by com.caucho.resin.WebAppLocalDeployEmbed

public class WebAppLocalDeployEmbed
extends WebAppEmbed

Enables the local deployment service at /resin.deploy

 ResinEmbed resin = new ResinEmbed();

 WebAppLocalDeployEmbed webApp = new WebAppLocalDeployEmbed();

 resin.addWebApp(webApp);
 


Field Summary
static java.lang.String LOCAL_DEPLOY_CONTEXT_PATH
           
 
Constructor Summary
WebAppLocalDeployEmbed()
           
 
Method Summary
 void setContextPath(java.lang.String contextPath)
          The context-path can't be set
 void setRole(java.lang.String role)
          Sets the deploy role.
 void setRootDirectory(java.lang.String rootDirectory)
          The root directory can't be set
 
Methods inherited from class com.caucho.resin.WebAppEmbed
addBean, addFilter, addFilterMapping, addServlet, addServletMapping, configure, getArchivePath, getContextPath, getDeployGenerator, getRootDirectory, getWebApp, setArchivePath, setContextParam, setDeployGenerator, setDisableStart
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOCAL_DEPLOY_CONTEXT_PATH

public static final java.lang.String LOCAL_DEPLOY_CONTEXT_PATH
See Also:
Constant Field Values
Constructor Detail

WebAppLocalDeployEmbed

public WebAppLocalDeployEmbed()
Method Detail

setContextPath

public void setContextPath(java.lang.String contextPath)
The context-path can't be set

Overrides:
setContextPath in class WebAppEmbed

setRootDirectory

public void setRootDirectory(java.lang.String rootDirectory)
The root directory can't be set

Overrides:
setRootDirectory in class WebAppEmbed

setRole

public void setRole(java.lang.String role)
Sets the deploy role.