org.apache.openejb.config
Class TldScanner
java.lang.Object
org.apache.openejb.config.TldScanner
public class TldScanner
- extends Object
TLD file urls cached on a per classloader basis. Helps with sharing TLD
files between webapps by placing them in a parent classloader.
Each webapp will be able to retrieve the cached version of the URLs and
therefore only needs to scan its own libraries, the parent libraries will
already have been scanned.
For a tiny bit of performance, we will scan the StandardClassloader at boot
in a separate thread so it should be primed in advance of any deployment.
- Version:
- $Rev$ $Date$
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TldScanner
public TldScanner()
scan
public static Set<URL> scan(ClassLoader classLoader)
throws OpenEJBException
- Throws:
OpenEJBException
scanClassLoaderForTagLibs
public static Set<URL> scanClassLoaderForTagLibs(ClassLoader classLoader)
throws OpenEJBException
- Throws:
OpenEJBException
Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.