org.jboss.deployers.vfs.plugins.classloader
Class CachingRequirementIntegrationDeployer<T>

java.lang.Object
  extended by org.jboss.deployers.spi.deployer.helpers.AbstractDeployer
      extended by org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer
          extended by org.jboss.deployers.spi.deployer.helpers.AbstractOptionalRealDeployer<T>
              extended by org.jboss.deployers.vfs.spi.deployer.AbstractOptionalVFSRealDeployer<T>
                  extended by org.jboss.deployers.vfs.plugins.classloader.RequirementIntegrationDeployer<T>
                      extended by org.jboss.deployers.vfs.plugins.classloader.CachingRequirementIntegrationDeployer<T>
Type Parameters:
T - exact output type
All Implemented Interfaces:
Deployer, Ordered
Direct Known Subclasses:
ModuleRequirementIntegrationDeployer, PackageRequirementIntegrationDeployer

public abstract class CachingRequirementIntegrationDeployer<T>
extends RequirementIntegrationDeployer<T>

Integration deployer. Caches integration requirement.

Author:
Ales Justin

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.deployers.spi.Ordered
Ordered.OrderedComparator
 
Field Summary
static String REQUIREMENT_KEY
          The cached requirement key
 
Fields inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractDeployer
log
 
Fields inherited from interface org.jboss.deployers.spi.Ordered
COMPARATOR
 
Constructor Summary
protected CachingRequirementIntegrationDeployer(Class<T> input)
           
 
Method Summary
protected  org.jboss.classloading.spi.metadata.helpers.AbstractRequirement hasIntegrationModuleRequirement(VFSDeploymentUnit unit, org.jboss.classloading.spi.metadata.RequirementsMetaData requirements)
          Do we have integration module requirements.
 void setCacheRequirement(boolean cacheRequirement)
           
 void undeploy(VFSDeploymentUnit unit, T deployment)
          Undeploy a deployment
 
Methods inherited from class org.jboss.deployers.vfs.plugins.classloader.RequirementIntegrationDeployer
deploy, getIntegrationModuleName, getIntegrationModuleNames, hasIntegrationModuleRequirement, setIntegrationModuleName, setIntegrationModuleNames, start
 
Methods inherited from class org.jboss.deployers.vfs.spi.deployer.AbstractOptionalVFSRealDeployer
deploy, undeploy
 
Methods inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractOptionalRealDeployer
internalDeploy, internalUndeploy, setDisableOptional
 
Methods inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer
addControllerContextName, deploy, isControllerContextNameCandidate, isUseUnitName, removeControllerContextName, setUseUnitName, undeploy
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REQUIREMENT_KEY

public static final String REQUIREMENT_KEY
The cached requirement key

Constructor Detail

CachingRequirementIntegrationDeployer

protected CachingRequirementIntegrationDeployer(Class<T> input)
Method Detail

setCacheRequirement

public void setCacheRequirement(boolean cacheRequirement)

undeploy

public void undeploy(VFSDeploymentUnit unit,
                     T deployment)
Description copied from class: AbstractOptionalVFSRealDeployer
Undeploy a deployment

Overrides:
undeploy in class RequirementIntegrationDeployer<T>
Parameters:
unit - the unit
deployment - the attachment

hasIntegrationModuleRequirement

protected org.jboss.classloading.spi.metadata.helpers.AbstractRequirement hasIntegrationModuleRequirement(VFSDeploymentUnit unit,
                                                                                                          org.jboss.classloading.spi.metadata.RequirementsMetaData requirements)
Description copied from class: RequirementIntegrationDeployer
Do we have integration module requirements.

Overrides:
hasIntegrationModuleRequirement in class RequirementIntegrationDeployer<T>
Parameters:
unit - the deployment unit
requirements - the current requirements
Returns:
integration core requirement


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