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

Type Parameters:
T - the deployment type

public interface DeploymentVisitor<T>

DeploymentVisitor.

Version:
$Revision: 1.1 $
Author:
Adrian Brock

Method Summary
 void deploy(org.jboss.deployers.structure.spi.DeploymentUnit unit, T deployment)
          Deploy the deployment
 Class<T> getVisitorType()
          Get the visitor type
 void undeploy(org.jboss.deployers.structure.spi.DeploymentUnit unit, T deployment)
          Undeploy the deployment
 

Method Detail

getVisitorType

Class<T> getVisitorType()
Get the visitor type

Returns:
the visitor type

deploy

void deploy(org.jboss.deployers.structure.spi.DeploymentUnit unit,
            T deployment)
            throws org.jboss.deployers.spi.DeploymentException
Deploy the deployment

Parameters:
unit - the deployment unit
deployment - the deployment
Throws:
org.jboss.deployers.spi.DeploymentException - the deployment exception

undeploy

void undeploy(org.jboss.deployers.structure.spi.DeploymentUnit unit,
              T deployment)
Undeploy the deployment

Parameters:
unit - the deployment unit
deployment - the deployment


Copyright © 2008 JBoss Inc.. All Rights Reserved.