org.apache.xbean.finder.archive
Class CompositeArchive

java.lang.Object
  extended by org.apache.xbean.finder.archive.CompositeArchive
All Implemented Interfaces:
java.lang.Iterable<java.lang.String>, Archive
Direct Known Subclasses:
ClasspathArchive

public class CompositeArchive
extends java.lang.Object
implements Archive

Version:
$Rev$ $Date$

Constructor Summary
CompositeArchive(Archive... archives)
           
CompositeArchive(java.lang.Iterable<Archive> archives)
           
 
Method Summary
 java.io.InputStream getBytecode(java.lang.String className)
           
 java.util.Iterator<java.lang.String> iterator()
           
 java.lang.Class<?> loadClass(java.lang.String className)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeArchive

public CompositeArchive(Archive... archives)

CompositeArchive

public CompositeArchive(java.lang.Iterable<Archive> archives)
Method Detail

getBytecode

public java.io.InputStream getBytecode(java.lang.String className)
                                throws java.io.IOException,
                                       java.lang.ClassNotFoundException
Specified by:
getBytecode in interface Archive
Throws:
java.io.IOException
java.lang.ClassNotFoundException

loadClass

public java.lang.Class<?> loadClass(java.lang.String className)
                             throws java.lang.ClassNotFoundException
Specified by:
loadClass in interface Archive
Throws:
java.lang.ClassNotFoundException

iterator

public java.util.Iterator<java.lang.String> iterator()
Specified by:
iterator in interface java.lang.Iterable<java.lang.String>


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.