|
Martin Kouba, regarding splitting up the processBean() method, it doesn't work in the way you proposed as these methods are not invoked for producer methods. It works though if I change it into the following:
public <P extends ProcessBean<? extends ValidatorFactory> void processValidatorFactoryBean(@Observes P> event) { ... }
I'm just not sure whether using type variables is a supported/portable pattern for event handling methods.
|