org.jboss.deployment
Class EARContentsDeployer

java.lang.Object
  extended by org.jboss.deployers.spi.deployer.helpers.AbstractDeployer
      extended by org.jboss.deployment.EARContentsDeployer
All Implemented Interfaces:
org.jboss.deployers.spi.deployer.Deployer, org.jboss.deployers.spi.Ordered

public class EARContentsDeployer
extends org.jboss.deployers.spi.deployer.helpers.AbstractDeployer

An implicit application.xml type of deployer. This deployer runs if there is no META-INF/application.xml to identify #scanEar(VirtualFile, JBossAppMetaData)

Version:
$Revision: 85945 $
Author:
Bill Burke, Scott.Stark@jboss.org, adrian@jboss.org

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.deployers.spi.Ordered
org.jboss.deployers.spi.Ordered.OrderedComparator
 
Field Summary
 
Fields inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractDeployer
log
 
Fields inherited from interface org.jboss.deployers.spi.Ordered
COMPARATOR
 
Constructor Summary
EARContentsDeployer(int appParsingOrder)
          Create the EARContentsDeployer and register as a DeploymentStage.PARSE stage deployer with JBossAppMetaData output.
 
Method Summary
 void deploy(org.jboss.deployers.structure.spi.DeploymentUnit unit)
           
 void deploy(org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit unit)
          Entry point for handling a VFSDeploymentUnit
protected  void deploy(org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit unit, org.jboss.virtual.VirtualFile root, org.jboss.virtual.VirtualFile file)
          Process the ear VFSDeploymentUnit.
 boolean isRequiresEarSuffix()
           
 void setRequiresEarSuffix(boolean requiresEarSuffix)
           
 
Methods inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractDeployer
addInput, addInput, addOutput, addOutput, getInput, getInputs, getOutput, getOutputs, getRelativeOrder, getStage, isAllInputs, isComponentsOnly, isParentFirst, isTopLevelOnly, isWantComponents, setAllInputs, setComponentsOnly, setInput, setInputs, setInputs, setInputs, setOutput, setOutputs, setOutputs, setOutputs, setParentFirst, setRelativeOrder, setStage, setTopLevelOnly, setWantComponents, undeploy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EARContentsDeployer

public EARContentsDeployer(int appParsingOrder)
Create the EARContentsDeployer and register as a DeploymentStage.PARSE stage deployer with JBossAppMetaData output.

Parameters:
appParsingOrder - - the AppParsingDeployer relative order used to ensure EARContentsDeployer runs after AppParsingDeployer.
Method Detail

isRequiresEarSuffix

public boolean isRequiresEarSuffix()

setRequiresEarSuffix

public void setRequiresEarSuffix(boolean requiresEarSuffix)

deploy

public void deploy(org.jboss.deployers.structure.spi.DeploymentUnit unit)
            throws org.jboss.deployers.spi.DeploymentException
Throws:
org.jboss.deployers.spi.DeploymentException

deploy

public void deploy(org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit unit)
            throws org.jboss.deployers.spi.DeploymentException
Entry point for handling a VFSDeploymentUnit

Parameters:
unit -
Throws:
org.jboss.deployers.spi.DeploymentException

deploy

protected void deploy(org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit unit,
                      org.jboss.virtual.VirtualFile root,
                      org.jboss.virtual.VirtualFile file)
Process the ear VFSDeploymentUnit.

Parameters:
unit - - the parent VFSDeploymentUnit for the ear
root - - the deployment VFS root
file - - the deployment ear VF


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.