Class NewBeanInstanceStrategy

    • Constructor Detail

      • NewBeanInstanceStrategy

        public NewBeanInstanceStrategy()
    • Method Detail

      • newInstance

        public abstract java.lang.Object newInstance​(java.lang.Class target,
                                                     JSONObject source)
                                              throws java.lang.InstantiationException,
                                                     java.lang.IllegalAccessException,
                                                     java.lang.SecurityException,
                                                     java.lang.NoSuchMethodException,
                                                     java.lang.reflect.InvocationTargetException
        Creates a new instance.
        Parameters:
        target - the source class
        source - additional properties that may be needed to create the instance
        Throws:
        java.lang.InstantiationException
        java.lang.IllegalAccessException
        java.lang.SecurityException
        java.lang.NoSuchMethodException
        java.lang.reflect.InvocationTargetException