public class IltDefaultClassManager extends IlpDefaultClassManager
IlpDefaultClassManager
to make sure that
JTGO classes are registered as soon as possible.Constructor and Description |
---|
IltDefaultClassManager() |
Modifier and Type | Method and Description |
---|---|
protected void |
fetchPredefinedClasses()
Fetches the predefined classes.
|
addClass, fetchPredefinedClassesOnce, getClass, getClass, getClasses, getDefaultClassManager, getRootClasses, hasClass, hasClass, parse, parse, removeClass, removeClass, setDefaultClassManager
protected void fetchPredefinedClasses()
This method is called once before any other method returns.
This implementation registers all the JTGO predefined classes.
You may want to redefine this method to register as soon as possible your own predefined classes. It is useful if you need to display a list of whole classes, for example.
To register a Java class as an IlpClass
, call the
getClass(your class.class.getName());
method.
Note that if you redefine this method, do not forget to call the super class method.
Note also that classes do not usually need to be registered as soon as possible for the class manager to behave well, except if you need to display a list of them.
fetchPredefinedClasses
in class IlpDefaultClassManager
IlpDefaultClassManager.getClass(String)
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.