-
Feature Request
-
Resolution: Done
-
Major
-
None
-
None
// Make the original method also default so that new impls don't need to implement two methods default void notify(T event) { // No-op } // The container should always call this method... default void notify(T event, EventMetadata metadata) { notify(event); }
This should not break existing implementations. The truth is a custom impl will not be forced to implement any notify() method. But I think the benefits are worth it.
- is duplicated by
-
CDI-482 Overloaded version of ObserverMethod.notify()
- Resolved