org.apache.openejb.config
Class AggregatedArchive

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

public class AggregatedArchive
extends Object
implements org.apache.xbean.finder.archive.Archive

Version:
$Rev$ $Date$

Constructor Summary
AggregatedArchive(ClassLoader loader, Iterable<URL> urls)
           
 
Method Summary
 InputStream getBytecode(String className)
           
 Map<URL,List<String>> getClassesMap()
           
 Iterator<String> 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

AggregatedArchive

public AggregatedArchive(ClassLoader loader,
                         Iterable<URL> urls)
Method Detail

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<String> iterator()
Specified by:
iterator in interface Iterable<String>

getClassesMap

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


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