All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sun.beanbox.JarLoader

java.lang.Object
   |
   +----sun.beanbox.JarLoader

public class JarLoader
extends Object

Constructor Index

 o JarLoader(String)
Create a JarLoader to read a JAR and to process its contents.

Method Index

 o getLoader()
get the loader we are using
 o loadJar()
Load the classes, resources, etc.
 o loadJarDoOnBean(String, DoOnBean)
Load the JAR file, then apply an action to each bean found

Constructors

 o JarLoader
 public JarLoader(String jarName) throws FileNotFoundException
Create a JarLoader to read a JAR and to process its contents. Classes and resources are loaded against a single common class loader instance so that things like "adaptor class instantiaton" can work. Loading is started with loadIt()

Methods

 o getLoader
 public ClassLoader getLoader()
get the loader we are using

 o loadJar
 public JarInfo loadJar() throws IOException
Load the classes, resources, etc.

 o loadJarDoOnBean
 public static void loadJarDoOnBean(String jarFile,
                                    DoOnBean action) throws IOException
Load the JAR file, then apply an action to each bean found


All Packages  Class Hierarchy  This Package  Previous  Next  Index