Creates a new instance of the specified class and type.
Triggers the ApplicationEvent.NEW_INSTANCE with the following parameters
clazz - the Class of the object
instance -> the object that was created
Creates a new instance of the specified class and type.
Triggers the ApplicationEvent.NEW_INSTANCE with the following parameters
clazz - the Class of the object
instance -> the object that was created