This is in relation to the workaround for the known issue of JSF FacesConverter not being an eligible @Inject target for CDI. I followed the workaround at CDI Injection into a FacesConverter. However, in my FacesConverter, I had been utilizing the feature of having the Class of the object passed into a constructor.
From the javadoc - "If a converter has a single argument constructor that takes a Class instance and the Class of the data to be converted is known at converter instantiation time, this constructor must be used to instantiate the converter instead of the zero-argument version." This is in direct conflict with the CDI requirement for "normal scope" beans where a no-arg or @Inject annotated constructor is all that's allowed.
So in summary, I want to use a Converter that can take CDI Injections, and has access to the Class of the object being converted at runtime.
I am using Mojarra 2.2.4 on Glassfish 4 with Weld 2.0.4.