org.jboss.deployers.vfs.spi.structure.helpers
Class ClassPathVisitor

java.lang.Object
  extended by org.jboss.deployers.vfs.spi.structure.helpers.ClassPathVisitor
All Implemented Interfaces:
DeploymentUnitVisitor

public class ClassPathVisitor
extends Object
implements DeploymentUnitVisitor

Collects all the classpath elements

Version:
$Revision: 1.1 $
Author:
Adrian Brock

Constructor Summary
ClassPathVisitor()
          Deprecated. 
ClassPathVisitor(DeploymentUnit initial)
          Create a new ClassPathVisitor.
 
Method Summary
 void error(DeploymentUnit context)
          Invoked when there is a subsequent error in the visit
 Set<org.jboss.virtual.VirtualFile> getClassPath()
          Get the full classpath after the visit
 void visit(DeploymentUnit unit)
          Visit a unit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassPathVisitor

@Deprecated
public ClassPathVisitor()
Deprecated. 

Create a new ClassPathVisitor.


ClassPathVisitor

public ClassPathVisitor(DeploymentUnit initial)
Create a new ClassPathVisitor.

Parameters:
initial - the initial unit
Method Detail

getClassPath

public Set<org.jboss.virtual.VirtualFile> getClassPath()
Get the full classpath after the visit

Returns:
the full classpath

visit

public void visit(DeploymentUnit unit)
           throws DeploymentException
Description copied from interface: DeploymentUnitVisitor
Visit a unit

Specified by:
visit in interface DeploymentUnitVisitor
Parameters:
unit - the unit
Throws:
DeploymentException - for any error

error

public void error(DeploymentUnit context)
Description copied from interface: DeploymentUnitVisitor
Invoked when there is a subsequent error in the visit

Specified by:
error in interface DeploymentUnitVisitor
Parameters:
context - the unit


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