Description
5.4.1. Unproxyable bean types
- Classes which don't have a non-private constructor with no parameters cannot be proxied by the container.
- If an injection point whose declared type cannot be proxied by the container resolves to a bean with a normal scope, the container automatically detects the problem and treats it as a deployment problem.
For instance:
@ApplicationScoped
public class MavenContainer
{
}
...
then the following injection should not have the problem marker:
@Inject
public MavenCoreFacetImpl(MavenContainer container)