Class FactoryFinder


  • class FactoryFinder
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      FactoryFinder()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static <T> T find​(java.lang.Class<T> factoryId)  
      (package private) static <T> T newInstance​(java.lang.Class<T> cls, java.lang.String className)  
      • Methods inherited from class java.lang.Object

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

      • FactoryFinder

        FactoryFinder()
    • Method Detail

      • find

        static <T> T find​(java.lang.Class<T> factoryId)
                   throws java.lang.ReflectiveOperationException
        Throws:
        java.lang.ReflectiveOperationException
      • newInstance

        static <T> T newInstance​(java.lang.Class<T> cls,
                                 java.lang.String className)
                          throws java.lang.ReflectiveOperationException
        Throws:
        java.lang.ReflectiveOperationException