org.jboss.deployers.spi.deployer
Interface Deployer

All Superinterfaces:
Ordered
All Known Implementing Classes:
AbstractAllInputDeployer, AbstractAnnotationDeployer, AbstractClassLoaderDeployer, AbstractClassLoaderDescribeDeployer, AbstractComponentDeployer, AbstractDeployer, AbstractLevelClassLoaderSystemDeployer, AbstractOptionalRealDeployer, AbstractOptionalVFSRealDeployer, AbstractParsingDeployer, AbstractParsingDeployerWithOutput, AbstractRealDeployer, AbstractRealDeployerWithInput, AbstractResourceVisitorDeployer, AbstractSimpleRealDeployer, AbstractSimpleVFSRealDeployer, AbstractTopLevelClassLoaderDeployer, AbstractVFSParsingDeployer, AbstractVFSRealDeployer, AliasDeploymentDeployer, AliasesParserDeployer, AnnotationEnvironmentDeployer, BeanDeployer, BeanMetaDataDeployer, BeanMetaDataFactoryDeployer, BeanScanningDeployer, CachingRequirementIntegrationDeployer, ClassLoadingDefaultDeployer, DependenciesMetaDataDeployer, DependenciesParserDeployer, DeployerWrapper, DeploymentAliasesDeployer, DeploymentAliasMetaDataDeployer, DeploymentDependencyDeployer, FilesUrlIntegrationDeployer, FilteredAnnotationEnvironmentDeployer, FilteredGenericAnnotationDeployer, GenericAnnotationDeployer, InMemoryClassesDeployer, JAXBDeployer, JAXPDeployer, JBossExtensionDeployer, JBossXBDeployer, KernelDeploymentDeployer, ManifestDeployer, MetaDataUrlIntegrationDeployer, ModuleRequirementIntegrationDeployer, MultipleJBossXBDeployer, MultipleObjectModelFactoryDeployer, MultipleSchemaResolverDeployer, MultipleVFSParsingDeployer, ObjectModelFactoryDeployer, PackageRequirementIntegrationDeployer, PathUrlIntegrationDeployer, Properties2BeansDeployer, RequirementIntegrationDeployer, ScanningMetaDataDeployer, SchemaResolverDeployer, ScopedAnnotationEnvironmentDeployer, ScopedGenericAnnotationDeployer, UnmarshallerFactoryDeployer, UrlIntegrationDeployer, VFSClassLoaderClassPathDeployer, VFSClassLoaderDescribeDeployer, XSLDeployer

public interface Deployer
extends Ordered

Deployer.

Version:
$Revision: 1.1 $
Author:
Adrian Brock

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.deployers.spi.Ordered
Ordered.OrderedComparator
 
Field Summary
 
Fields inherited from interface org.jboss.deployers.spi.Ordered
COMPARATOR
 
Method Summary
 void deploy(DeploymentUnit unit)
          Deploy a deployment
 Class<?> getInput()
          Get the input for this deployer
 Set<String> getInputs()
          Get the input for this deployer
 Class<?> getOutput()
          Get the otput for this deployer
 Set<String> getOutputs()
          Get the outputs for this deployer
 DeploymentStage getStage()
          Get the deployment stage for this deployer
 boolean isAllInputs()
          Whether we want all inputs
 boolean isComponentsOnly()
          Whether we only want components
 boolean isParentFirst()
          Whether to process parents before children (default true)
 boolean isTopLevelOnly()
          Whether we only want the top level
 boolean isWantComponents()
          Whether we dont want components
 void undeploy(DeploymentUnit unit)
          Undeploy an deployment
 
Methods inherited from interface org.jboss.deployers.spi.Ordered
getRelativeOrder, setRelativeOrder
 

Method Detail

getStage

DeploymentStage getStage()
Get the deployment stage for this deployer

Returns:
the stage

isTopLevelOnly

boolean isTopLevelOnly()
Whether we only want the top level

Returns:
true for top level only

isComponentsOnly

boolean isComponentsOnly()
Whether we only want components

Returns:
true for components only

isWantComponents

boolean isWantComponents()
Whether we dont want components

Returns:
true for no components

isAllInputs

boolean isAllInputs()
Whether we want all inputs

Returns:
true for all inputs

getInput

Class<?> getInput()
Get the input for this deployer

Returns:
the input type

getOutput

Class<?> getOutput()
Get the otput for this deployer

Returns:
the output type

getInputs

Set<String> getInputs()
Get the input for this deployer

Returns:
the inputs

getOutputs

Set<String> getOutputs()
Get the outputs for this deployer

Returns:
the outputs

isParentFirst

boolean isParentFirst()
Whether to process parents before children (default true)

Returns:
true to process parents first

deploy

void deploy(DeploymentUnit unit)
            throws DeploymentException
Deploy a deployment

Parameters:
unit - the unit
Throws:
DeploymentException - for any error

undeploy

void undeploy(DeploymentUnit unit)
Undeploy an deployment

Parameters:
unit - the unit


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