Package 

Interface ResourceLoader.ClassFactory


  • 
    public interface ResourceLoader.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

      Modifier and Type Method Description
      abstract Boolean match(String name) Check whether the factory can return the named class.
      abstract Class<?> loadClass(String name) Load the class.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • match

         abstract Boolean match(String name)

        Check whether the factory can return the named class.

        Parameters:
        name - the binary name of the class
      • loadClass

         abstract Class<?> loadClass(String name)

        Load the class.

        Parameters:
        name - the binary name of the class