Add an invocation handler for all methods on interface interf.
Set the default invocation handler to use if none of the invocation handlers added by calls to addInvocationHandler apply.