Package org.jboss.net.protocol

Examples of org.jboss.net.protocol.URLLister


               else
               {
                  // obtain a URLLister for the codebase and use it to obtain
                  // the list of URLs to add
                  log.debug("listing codebase for archives matching " + archives);
                  URLLister lister = listerFactory.createURLLister(codebaseUrl);
                  log.debug("URLLister class is " + lister.getClass().getName());
                  classpath.addAll(lister.listMembers(codebaseUrl, archives));
               }
            } // end of if ()

         } // end of if ()
      } //end of for
View Full Code Here


            try
            {
               if (url.toString().endsWith("/"))
               {
                  // treat URL as a collection
                  URLLister lister = listerFactory.createURLLister(url);
                 
                  // listMembers() will throw an IOException if collection url does not exist
                  urlsToDeploy.addAll(lister.listMembers(url, filter, doRecursiveSearch));
               }
               else
               {
                  // treat URL as a deployable unit
                 
View Full Code Here

/* 549 */         this.log.debug("added codebase to classpath");
/*     */       }
/*     */       else
/*     */       {
/* 555 */         this.log.debug("listing codebase for archives matching " + archives);
/* 556 */         URLLister lister = listerFactory.createURLLister(codebaseUrl);
/* 557 */         this.log.debug("URLLister class is " + lister.getClass().getName());
/* 558 */         classpath.addAll(lister.listMembers(codebaseUrl, archives));
/*     */       }
/*     */
/*     */     }
/*     */
/* 566 */     Iterator jars = classpath.iterator();
View Full Code Here

/* 488 */         URL url = (URL)i.next();
/*     */         try
/*     */         {
/* 491 */           if (url.toString().endsWith("/"))
/*     */           {
/* 494 */             URLLister lister = this.listerFactory.createURLLister(url);
/*     */
/* 497 */             urlsToDeploy.addAll(lister.listMembers(url, this.filter, this.doRecursiveSearch));
/*     */           }
/*     */           else
/*     */           {
/* 504 */             url.openConnection().connect();
/* 505 */             urlsToDeploy.add(url);
View Full Code Here

TOP

Related Classes of org.jboss.net.protocol.URLLister

Copyright © 2018 www.massapicom. 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.