Laird Nelson
I'll check the specification to see if private constructors annotated with @Inject are permitted (can't remember).
A bean type must be proxyable (must have private constructor with no parameters) if an injection point resolves to a bean that has an associated decorator (see also 3.11. Unproxyable bean types). However, Weld does not perform the check if relaxed construction is enabled (by default in Weld SE). It looks like relaxed construction does not work well with descorators though. Anyway, a simple reproducer would be really helpful here. |