org.apache.tomee.loader
Class EmbeddedJarScanner

java.lang.Object
  extended by org.apache.tomee.loader.EmbeddedJarScanner
All Implemented Interfaces:
org.apache.tomcat.JarScanner

public class EmbeddedJarScanner
extends Object
implements org.apache.tomcat.JarScanner

Version:
$Rev$ $Date$

Constructor Summary
EmbeddedJarScanner()
           
 
Method Summary
 void scan(javax.servlet.ServletContext context, ClassLoader classloader, org.apache.tomcat.JarScannerCallback callback, Set<String> jarsToSkip)
          Scan the provided ServletContext and classloader for JAR files.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmbeddedJarScanner

public EmbeddedJarScanner()
Method Detail

scan

public void scan(javax.servlet.ServletContext context,
                 ClassLoader classloader,
                 org.apache.tomcat.JarScannerCallback callback,
                 Set<String> jarsToSkip)
Scan the provided ServletContext and classloader for JAR files. Each JAR file found will be passed to the callback handler to be processed.

Specified by:
scan in interface org.apache.tomcat.JarScanner
Parameters:
context - The ServletContext - used to locate and access WEB-INF/lib
classloader - The classloader - used to access JARs not in WEB-INF/lib
callback - The handler to process any JARs found
jarsToSkip - List of JARs to ignore. If this list is null, a default list will be read from the system property defined by Constants.SKIP_JARS_PROPERTY


Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.