org.jboss.jetty
Class JettyDeployer

java.lang.Object
  extended by org.jboss.web.AbstractWebDeployer
      extended by org.jboss.jetty.JettyDeployer

public class JettyDeployer
extends org.jboss.web.AbstractWebDeployer

JettyDeployer Implementation of the jboss AbstractWebDeployer for deploying webapps to jetty.


Field Summary
protected  JettyService.ConfigurationData _configData
           
protected  org.eclipse.jetty.server.handler.ContextHandlerCollection _contexts
           
protected  org.jboss.deployment.DeploymentInfo _deploymentInfo
           
protected  Jetty _jetty
           
protected static org.jboss.logging.Logger _log
           
 
Fields inherited from class org.jboss.web.AbstractWebDeployer
defaultSecurityDomain, ERROR, java2ClassLoadingCompliance, lenientEjbLink, log, server, unpackWars
 
Constructor Summary
JettyDeployer(Jetty jetty, org.jboss.deployment.DeploymentInfo di)
           
 
Method Summary
 void init(Object containerConfig)
           
 void performDeploy(org.jboss.web.WebApplication webApp, String warUrl, org.jboss.web.AbstractWebContainer.WebDescriptorParser parser)
           
 void performUndeploy(String warUrl, org.jboss.web.WebApplication wa)
          Undeploy a webapp
 
Methods inherited from class org.jboss.web.AbstractWebDeployer
addEnvEntries, createPermissions, getCompileClasspath, getDefaultSecurityDomain, getJava2ClassLoadingCompliance, getLenientEjbLink, getServer, getStandardCompileClasspath, getUnpackWars, linkEjbLocalRefs, linkEjbRefs, linkMessageDestinationRefs, linkResourceEnvRefs, linkResourceRefs, linkSecurityDomain, parseWebAppDescriptors, setDefaultSecurityDomain, setJava2ClassLoadingCompliance, setLenientEjbLink, setServer, setUnpackWars, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_log

protected static final org.jboss.logging.Logger _log

_jetty

protected Jetty _jetty

_contexts

protected org.eclipse.jetty.server.handler.ContextHandlerCollection _contexts

_deploymentInfo

protected org.jboss.deployment.DeploymentInfo _deploymentInfo

_configData

protected JettyService.ConfigurationData _configData
Constructor Detail

JettyDeployer

public JettyDeployer(Jetty jetty,
                     org.jboss.deployment.DeploymentInfo di)
Method Detail

init

public void init(Object containerConfig)
          throws Exception
Specified by:
init in class org.jboss.web.AbstractWebDeployer
Throws:
Exception

performDeploy

public void performDeploy(org.jboss.web.WebApplication webApp,
                          String warUrl,
                          org.jboss.web.AbstractWebContainer.WebDescriptorParser parser)
                   throws org.jboss.deployment.DeploymentException
Specified by:
performDeploy in class org.jboss.web.AbstractWebDeployer
Throws:
org.jboss.deployment.DeploymentException

performUndeploy

public void performUndeploy(String warUrl,
                            org.jboss.web.WebApplication wa)
                     throws org.jboss.deployment.DeploymentException
Undeploy a webapp

Specified by:
performUndeploy in class org.jboss.web.AbstractWebDeployer
Throws:
org.jboss.deployment.DeploymentException
See Also:
AbstractWebDeployer.performUndeploy(java.lang.String, org.jboss.web.WebApplication)


Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.