Package org.h2.util
Interface Utils.ClassFactory
- Enclosing class:
Utils
public static interface 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.
-
Method Summary
-
Method Details
-
match
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
-
loadClass
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
-