Package org.jboss.deployers.vfs.spi.structure.helpers

Source Code of org.jboss.deployers.vfs.spi.structure.helpers.ClassPathVisitor

/*    */ package org.jboss.deployers.vfs.spi.structure.helpers;
/*    */
/*    */ import java.util.LinkedHashSet;
/*    */ import java.util.List;
/*    */ import java.util.Set;
/*    */ import org.jboss.deployers.spi.DeploymentException;
/*    */ import org.jboss.deployers.structure.spi.DeploymentContext;
/*    */ import org.jboss.deployers.structure.spi.DeploymentContextVisitor;
/*    */ import org.jboss.deployers.vfs.spi.structure.VFSDeploymentContext;
/*    */ import org.jboss.virtual.VirtualFile;
/*    */
/*    */ public class ClassPathVisitor
/*    */   implements DeploymentContextVisitor
/*    */ {
/* 43 */   private Set<VirtualFile> classPath = new LinkedHashSet();
/*    */
/*    */   public Set<VirtualFile> getClassPath()
/*    */   {
/* 52 */     return this.classPath;
/*    */   }
/*    */
/*    */   public void visit(DeploymentContext context) throws DeploymentException
/*    */   {
/* 57 */     VFSDeploymentContext vfsContext = (VFSDeploymentContext)context;
/* 58 */     List paths = vfsContext.getClassPath();
/* 59 */     if (paths != null)
/* 60 */       this.classPath.addAll(paths);
/*    */   }
/*    */
/*    */   public void error(DeploymentContext context)
/*    */   {
/*    */   }
/*    */ }

/* Location:           /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/jboss-embedded-all.jar
* Qualified Name:     org.jboss.deployers.vfs.spi.structure.helpers.ClassPathVisitor
* JD-Core Version:    0.6.0
*/
TOP

Related Classes of org.jboss.deployers.vfs.spi.structure.helpers.ClassPathVisitor

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.