com.sun.enterprise.web
Class WebDeployer

java.lang.Object
  extended by org.glassfish.javaee.core.deployment.JavaEEDeployer<WebContainer,WebApplication>
      extended by com.sun.enterprise.web.WebDeployer
All Implemented Interfaces:
Deployer<WebContainer,WebApplication>

@Service
public class WebDeployer
extends JavaEEDeployer<WebContainer,WebApplication>

Web module deployer.

Author:
jluehe, Jerome Dochez

Field Summary
 
Fields inherited from class org.glassfish.javaee.core.deployment.JavaEEDeployer
appRegistry, habitat, undeploymentVisitor
 
Constructor Summary
WebDeployer()
          Constructor
 
Method Summary
protected  void generateArtifacts(DeploymentContext dc)
           
 MetaData getMetaData()
          Returns the meta data assocated with this Deployer
protected  java.lang.String getModuleType()
           
 WebApplication load(WebContainer container, DeploymentContext dc)
           
<V> V
loadMetaData(java.lang.Class<V> type, DeploymentContext dc)
           
 void unload(WebApplication webApplication, DeploymentContext dc)
           
 
Methods inherited from class org.glassfish.javaee.core.deployment.JavaEEDeployer
clean, getApplicationFromApplicationInfo, getCommonClassPath, getModuleClassPath, getObjectType, prepare
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebDeployer

public WebDeployer()
Constructor

Method Detail

getModuleType

protected java.lang.String getModuleType()
Specified by:
getModuleType in class JavaEEDeployer<WebContainer,WebApplication>

getMetaData

public MetaData getMetaData()
Returns the meta data assocated with this Deployer

Specified by:
getMetaData in interface Deployer<WebContainer,WebApplication>
Overrides:
getMetaData in class JavaEEDeployer<WebContainer,WebApplication>
Returns:
the meta data for this Deployer

loadMetaData

public <V> V loadMetaData(java.lang.Class<V> type,
                          DeploymentContext dc)
Specified by:
loadMetaData in interface Deployer<WebContainer,WebApplication>
Overrides:
loadMetaData in class JavaEEDeployer<WebContainer,WebApplication>

generateArtifacts

protected void generateArtifacts(DeploymentContext dc)
                          throws DeploymentException
Overrides:
generateArtifacts in class JavaEEDeployer<WebContainer,WebApplication>
Throws:
DeploymentException

load

public WebApplication load(WebContainer container,
                           DeploymentContext dc)
Specified by:
load in interface Deployer<WebContainer,WebApplication>
Overrides:
load in class JavaEEDeployer<WebContainer,WebApplication>

unload

public void unload(WebApplication webApplication,
                   DeploymentContext dc)


Copyright © 2012 GlassFish Community. All Rights Reserved.