Class NullConstructorStrategy

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object construct​(java.lang.Class<?> clazz)
      Constructs an instance of a Class.
      • Methods inherited from class java.lang.Object

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

      • NullConstructorStrategy

        public NullConstructorStrategy()
    • Method Detail

      • construct

        public java.lang.Object construct​(java.lang.Class<?> clazz)
                                   throws javax.script.ScriptException
        Description copied from interface: ConstructorStrategy
        Constructs an instance of a Class.
        Specified by:
        construct in interface ConstructorStrategy
        Parameters:
        clazz - the Class
        Returns:
        the constructed instance or null
        Throws:
        javax.script.ScriptException - if the instance could not be constructed