org.apache.openejb.config
Class WebappAggregatedArchive

java.lang.Object
  extended by org.apache.openejb.config.WebappAggregatedArchive
All Implemented Interfaces:
Iterable<org.apache.xbean.finder.archive.Archive.Entry>, ScanConstants, org.apache.xbean.finder.archive.Archive

public class WebappAggregatedArchive
extends Object
implements org.apache.xbean.finder.archive.Archive, ScanConstants


Nested Class Summary
static class WebappAggregatedArchive.ScanXmlSaverFilter
           
 
Nested classes/interfaces inherited from interface org.apache.xbean.finder.archive.Archive
org.apache.xbean.finder.archive.Archive.Entry
 
Field Summary
 
Fields inherited from interface org.apache.openejb.config.ScanConstants
SCAN_XML, SCAN_XML_NAME, SCAN_XML_PROPERTY
 
Constructor Summary
WebappAggregatedArchive(ClassLoader classLoader, Map<String,Object> altDDs, ArrayList<URL> xmls)
           
WebappAggregatedArchive(Module module, Iterable<URL> urls)
           
 
Method Summary
 InputStream getBytecode(String className)
           
 Map<URL,List<String>> getClassesMap()
           
 Iterator<org.apache.xbean.finder.archive.Archive.Entry> iterator()
           
 Class<?> loadClass(String className)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebappAggregatedArchive

public WebappAggregatedArchive(Module module,
                               Iterable<URL> urls)

WebappAggregatedArchive

public WebappAggregatedArchive(ClassLoader classLoader,
                               Map<String,Object> altDDs,
                               ArrayList<URL> xmls)
Method Detail

getClassesMap

public Map<URL,List<String>> getClassesMap()

getBytecode

public InputStream getBytecode(String className)
                        throws IOException,
                               ClassNotFoundException
Specified by:
getBytecode in interface org.apache.xbean.finder.archive.Archive
Throws:
IOException
ClassNotFoundException

loadClass

public Class<?> loadClass(String className)
                   throws ClassNotFoundException
Specified by:
loadClass in interface org.apache.xbean.finder.archive.Archive
Throws:
ClassNotFoundException

iterator

public Iterator<org.apache.xbean.finder.archive.Archive.Entry> iterator()
Specified by:
iterator in interface Iterable<org.apache.xbean.finder.archive.Archive.Entry>


Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.