org.jboss.ejb3.deployers
Class Ejb3MetadataProcessingDeployer

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

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

Ejb3MetadataProcessingDeployer Runs post-merge processing on EJB3 Metadata to apply rules, perform validation, etc JBMETA-132


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.deployers.spi.Ordered
org.jboss.deployers.spi.Ordered.OrderedComparator
 
Field Summary
static java.lang.String OUTPUT
          Deployer Output, the Processed metadata
 
Fields inherited from interface org.jboss.deployers.spi.Ordered
COMPARATOR
 
Constructor Summary
Ejb3MetadataProcessingDeployer()
          Constructor; sets deployment stage and requisite input/output chain
 
Method Summary
 void addProcessorFactory(JBossMetaDataProcessorFactory<org.jboss.metadata.ejb.jboss.JBossMetaData> processorFactory)
          Add a processor factory to the set of processor factories which will be used to process the merged JBossMetaData
 void deploy(org.jboss.deployers.structure.spi.DeploymentUnit du)
          For DeploymentUnits with a merged metadata attachment representing EJB3 beans, will run a standard ProcessorChain.
 org.jboss.metadata.validation.chain.ValidatorChain<org.jboss.metadata.ejb.jboss.JBossMetaData> getValidatorChain()
          Returns the validator chain used to validate the processed metadata
 void removeProcessorFactory(JBossMetaDataProcessorFactory<org.jboss.metadata.ejb.jboss.JBossMetaData> processorFactory)
          Removes a processor factory from the set of processor factories which are responsible for processing the merged JBossMetaData
 void setValidatorChain(org.jboss.metadata.validation.chain.ValidatorChain<org.jboss.metadata.ejb.jboss.JBossMetaData> validatorChain)
          Sets the validator chain which will be used to validate the metadata after running it through the available JBossMetaDataProcessors
 
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
 

Field Detail

OUTPUT

public static final java.lang.String OUTPUT
Deployer Output, the Processed metadata

Constructor Detail

Ejb3MetadataProcessingDeployer

public Ejb3MetadataProcessingDeployer()
Constructor; sets deployment stage and requisite input/output chain

Method Detail

deploy

public void deploy(org.jboss.deployers.structure.spi.DeploymentUnit du)
            throws org.jboss.deployers.spi.DeploymentException
For DeploymentUnits with a merged metadata attachment representing EJB3 beans, will run a standard ProcessorChain. The processed metadata is then run through a validator chain

Throws:
org.jboss.deployers.spi.DeploymentException
See Also:
Deployer.deploy(org.jboss.deployers.structure.spi.DeploymentUnit)

addProcessorFactory

public void addProcessorFactory(JBossMetaDataProcessorFactory<org.jboss.metadata.ejb.jboss.JBossMetaData> processorFactory)
Add a processor factory to the set of processor factories which will be used to process the merged JBossMetaData

Parameters:
processorFactory -

removeProcessorFactory

public void removeProcessorFactory(JBossMetaDataProcessorFactory<org.jboss.metadata.ejb.jboss.JBossMetaData> processorFactory)
Removes a processor factory from the set of processor factories which are responsible for processing the merged JBossMetaData

Parameters:
processorFactory -

setValidatorChain

public void setValidatorChain(org.jboss.metadata.validation.chain.ValidatorChain<org.jboss.metadata.ejb.jboss.JBossMetaData> validatorChain)
Sets the validator chain which will be used to validate the metadata after running it through the available JBossMetaDataProcessors

Parameters:
validatorChain -

getValidatorChain

public org.jboss.metadata.validation.chain.ValidatorChain<org.jboss.metadata.ejb.jboss.JBossMetaData> getValidatorChain()
Returns the validator chain used to validate the processed metadata

Returns: