|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--neosim.util.JarInfo
Represents a loaded Jar file
Constructor Summary | |
JarInfo(java.lang.String jarName,
SimpleClassLoader cl,
java.lang.String[] beanNames,
boolean[] fromPrototype,
MessageHeader[] manifestData)
Create a JarInfo. |
Method Summary | |
java.beans.BeanInfo |
getBeanInfo(int i)
Get the BeanInfo for the ith bean in this jar file |
int |
getCount()
Get the number of beans in this Jar file |
java.lang.Object |
getInstance(java.lang.String name)
Get a new Bean instance given its name |
java.lang.String |
getJarName()
Get the name of the file containing this JAR |
static java.lang.String |
getJarName(java.lang.String beanName)
Global information: where did a given bean came from? |
MessageHeader |
getManifestData(java.lang.String name)
Get to Manifest Headers for this bean |
java.lang.String |
getName(int i)
The bean name of this bean |
boolean |
isFromPrototype(java.lang.String name)
Was this bean from a serialized prototype? -- unused so far? |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public JarInfo(java.lang.String jarName, SimpleClassLoader cl, java.lang.String[] beanNames, boolean[] fromPrototype, MessageHeader[] manifestData)
jarName
- The name of the file containing the Jarcl
- The ClassLoader instancebeanName
- The names for all the beansfromPrototype
- Whether this bean is from a serialized prototypeMethod Detail |
public static java.lang.String getJarName(java.lang.String beanName)
public java.lang.String getJarName()
public int getCount()
public java.beans.BeanInfo getBeanInfo(int i)
public java.lang.String getName(int i)
public boolean isFromPrototype(java.lang.String name)
public MessageHeader getManifestData(java.lang.String name)
public java.lang.Object getInstance(java.lang.String name)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |