Class DefaultConstructorMethodObjectInstanceFactory

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object createInstance()
      Creates the Object instance to invoke the Method on.
      • Methods inherited from class java.lang.Object

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

      • DefaultConstructorMethodObjectInstanceFactory

        public DefaultConstructorMethodObjectInstanceFactory​(java.lang.Class<?> clazz)
                                                      throws java.lang.Exception
        Instantiate.
        Parameters:
        clazz - Class to instantiate via default Constructor.
        Throws:
        java.lang.Exception - If fails to obtain default Constructor.
    • Method Detail

      • createInstance

        public java.lang.Object createInstance()
                                        throws java.lang.Exception
        Description copied from interface: MethodObjectInstanceFactory
        Creates the Object instance to invoke the Method on.
        Specified by:
        createInstance in interface MethodObjectInstanceFactory
        Returns:
        Object instance to invoke the Method on.
        Throws:
        java.lang.Exception - If fails to create the instance.