All Packages Class Hierarchy This Package Previous Next Index
Class sun.beanbox.JarInfo
java.lang.Object
|
+----sun.beanbox.JarInfo
- public class JarInfo
- extends Object
Represents a loaded Jar file
-
JarInfo(String, SimpleClassLoader, String[], boolean[], MessageHeader[])
-
Create a JarInfo.
-
getBeanInfo(int)
- Get the BeanInfo for the ith bean in this jar file
-
getCount()
- Get the number of beans in this Jar file
-
getInstance(String)
- Get a new Bean instance given its name
-
getJarName()
- Get the name of the file containing this JAR
-
getManifestData(String)
- Get to Manifest Headers for this bean
-
getName(int)
- The bean name of this bean
-
isFromPrototype(String)
- Was this bean from a serialized prototype? -- unused so far?
JarInfo
public JarInfo(String jarName,
SimpleClassLoader cl,
String beanNames[],
boolean fromPrototype[],
MessageHeader manifestData[])
- Create a JarInfo.
- Parameters:
- jarName - The name of the file containing the Jar
- cl - The ClassLoader instance
- beanName - The names for all the beans
- fromPrototype - Whether this bean is from a serialized prototype
getJarName
public String getJarName()
- Get the name of the file containing this JAR
getCount
public int getCount()
- Get the number of beans in this Jar file
getBeanInfo
public BeanInfo getBeanInfo(int i)
- Get the BeanInfo for the ith bean in this jar file
getName
public String getName(int i)
- The bean name of this bean
isFromPrototype
public boolean isFromPrototype(String name)
- Was this bean from a serialized prototype? -- unused so far?
getManifestData
public MessageHeader getManifestData(String name)
- Get to Manifest Headers for this bean
getInstance
public Object getInstance(String name)
- Get a new Bean instance given its name
All Packages Class Hierarchy This Package Previous Next Index