[cdi-dev] Suggestions needed! CDI-193

Martin Kouba mkouba at redhat.com
Wed Sep 5 08:13:15 EDT 2012


What about:
ProcessProducerMethodDefinition
ProcessProducerFieldDefinition

...any name will be confusing since we cannot change the superclass name :(

Martin

Dne 4.9.2012 17:24, Pete Muir napsal(a):
> All,
>
> 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.
>
> Ideas?
> _______________________________________________
> cdi-dev mailing list
> cdi-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/cdi-dev
>


More information about the cdi-dev mailing list