[cdi-dev] Enum injection

Pete Muir pmuir at redhat.com
Mon Sep 5 13:06:27 EDT 2011

I've written up the spec changes for https://issues.jboss.org/browse/CDI-127 as https://github.com/jboss/cdi/pull/37 - please review :-)

There is an open question here. Currently I've defined it as being non-portable to inject into an enum defined in a shared library, as the behavior when injecting contextual instances becomes complex (as this is essentially static injection). Please let me know if this is going to cause a problem for you.

More information about the cdi-dev mailing list