Utils.ClassFactory
The utility methods will try to use the provided class factories to
convert binary name of class to Class object. Used by H2 OSGi Activator
in order to provide a class from another bundle ClassLoader.
| Methods |
| Class |
loadClass(String name)
Load the class.
|
| Class |
loadClass(String name) throws ClassNotFoundException
Load the class.
Parameters:
name - the binary name of the class
Returns:
the class object
Throws:
ClassNotFoundException - If the class is not handle by this
factory
|
| boolean |
match(String name)
Check whether the factory can return the named class.
|
| boolean |
match(String name)
Check whether the factory can return the named class.
Parameters:
name - the binary name of the class
Returns:
true if this factory can return a valid class for the
provided class name
|