All Packages Class Hierarchy This Package Previous Next Index
Class sun.beanbox.JarLoader
java.lang.Object
|
+----sun.beanbox.JarLoader
- public class JarLoader
- extends Object
-
JarLoader(String)
- Create a JarLoader to read a JAR and to process its contents.
-
getLoader()
- get the loader we are using
-
loadJar()
- Load the classes, resources, etc.
-
loadJarDoOnBean(String, DoOnBean)
- Load the JAR file, then apply an action to each bean found
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()
getLoader
public ClassLoader getLoader()
- get the loader we are using
loadJar
public JarInfo loadJar() throws IOException
- Load the classes, resources, etc.
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