create Event Invoker
Creates an EventInvoker for the given handler method.
Uses LambdaMetafactory to generate a high-performance lambda when possible. If generation fails, falls back to reflective invocation and logs the failure.
Return
a compiled or reflective invoker that calls the handler.
Parameters
method
the handler method for which an invoker is created.