[cdi-dev] Suggestions needed! CDI-193

Pete Muir pmuir at redhat.com
Tue Sep 4 11:24:17 EDT 2012


Take a look at https://issues.jboss.org/browse/CDI-193

The CDI 1.0 spec contains two Process events - ProcessProducerMethod and ProcessProducer field, which are subclasses of ProcessBean.

CDI 1.1 EDR adds two new events, which are subclasses of ProcessProducer, which are called for producer fields and producer methods. They allow you to swap out the producer.

Of course, they are naturally named ProcessProducerMethod and ProcessProducerField, but these names are taken (as subclasses of ProcessBean). As the ProcessBean subclasses are in the 1.0 spec, we can't change them, so we must come up with new names for the ProcessProducer subclasses.

I'm out of ideas about how to fix this.


More information about the cdi-dev mailing list