Interface ConstructorStrategy

    • Method Detail

      • construct

        java.lang.Object construct​(java.lang.Class<?> clazz)
                            throws javax.script.ScriptException
        Constructs an instance of a Class.
        Parameters:
        clazz - the Class
        Returns:
        the constructed instance or null
        Throws:
        javax.script.ScriptException - if the instance could not be constructed