|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.ClassLoader
lacam.management.LibraryManager
Manages the class library of the whole system.
All the described plugin classes are cached here in theirClassDescriptor
which also contains all other needfull data as the default parameter list of the class,
the description, author etc.
Is is also used by the ProcessDescriptor
to find the
classes linked for the step the ProcessDescriptor
is
representing.
Method Summary | |
static void |
clearCache()
Deprecated. |
static java.lang.Class |
createInstance(ClassDescriptor descriptor)
Creates an instance of the class described by the ClassDescriptor |
java.lang.Class |
findClass(java.lang.String name)
|
static ClassDescriptor |
findDescriptor(java.lang.String name,
java.lang.String version)
Tries to find the matching class descriptor |
static ClassDescriptor[] |
getClassesByPurpose(java.lang.String purpose)
Searches the ClassDescriptor database of the LibraryManager for alle
classes matching the purpose defined by purpose |
static javax.swing.tree.TreeModel |
getTreeModelInstance()
|
static java.lang.Class |
loadByName(java.lang.String name,
boolean type_ignorable)
Tries to load a class identified only by its name |
static java.lang.Class |
loadByVersion(java.lang.String version)
Tries to load a class by its version (id) |
java.lang.Class |
loadClass(java.lang.String name)
|
static boolean |
matchesPurpose(java.lang.String purpose,
java.lang.String name,
java.lang.String version)
|
java.lang.String |
toString()
|
static void |
updateClassesSet()
Updates the classes set containing the class descriptors of any class in the plugin directory so those can be loaded without accessing the harddisk |
static void |
updateClassesSetVerbose()
Updates the classes set containing the class descriptors of any class in the plugin directory so those can be loaded without accessing the harddisk, while showing the progress to the user. |
Methods inherited from class java.lang.ClassLoader |
clearAssertionStatus, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public static java.lang.Class loadByName(java.lang.String name, boolean type_ignorable)
name
- The full qualified name of the classtype_ignorable
- True if the type of the class is ignorable
public static java.lang.Class loadByVersion(java.lang.String version)
version
- The version (id) of the class
public static java.lang.Class createInstance(ClassDescriptor descriptor)
ClassDescriptor
descriptor
- The descriptor containing the class to create an instance of
public static void clearCache()
public static void updateClassesSet()
public static void updateClassesSetVerbose()
public static ClassDescriptor[] getClassesByPurpose(java.lang.String purpose)
ClassDescriptor
database of the LibraryManager for alle
classes matching the purpose defined by purpose
purpose
- The purpose to search for
ClassLibraryContainer.getClassesForPurpose(String)
public static ClassDescriptor findDescriptor(java.lang.String name, java.lang.String version)
ClassDescriptor
or null
if none was foundpublic static boolean matchesPurpose(java.lang.String purpose, java.lang.String name, java.lang.String version)
public static javax.swing.tree.TreeModel getTreeModelInstance()
public java.lang.Class loadClass(java.lang.String name) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
ClassLoader.loadClass(String)
public java.lang.Class findClass(java.lang.String name) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |