org.jboss.deployers.spi.deployer.helpers
Interface DeploymentVisitor<T>

Type Parameters:
T - the deployment type
All Known Implementing Classes:
AbstractComponentVisitor, AbstractDeploymentVisitor, AliasDeploymentDeployer.AliasMetaDataVisitor, AliasDeploymentDeployer.KernelDeploymentVisitor, BeanMetaDataFactoryVisitor, KernelDeploymentDeployer.BeanMetaDataVisitor, KernelDeploymentDeployer.KernelDeploymentVisitor

public interface DeploymentVisitor<T>

DeploymentVisitor.

Version:
$Revision: 1.1 $
Author:
Adrian Brock

Method Summary
 void deploy(DeploymentUnit unit, T deployment)
          Deploy the deployment
 Class<T> getVisitorType()
          Get the visitor type
 void undeploy(DeploymentUnit unit, T deployment)
          Undeploy the deployment
 

Method Detail

getVisitorType

Class<T> getVisitorType()
Get the visitor type

Returns:
the visitor type

deploy

void deploy(DeploymentUnit unit,
            T deployment)
            throws DeploymentException
Deploy the deployment

Parameters:
unit - the deployment unit
deployment - the deployment
Throws:
DeploymentException - the deployment exception

undeploy

void undeploy(DeploymentUnit unit,
              T deployment)
Undeploy the deployment

Parameters:
unit - the deployment unit
deployment - the deployment


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