[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-8018) Problem marker for injection which resolves to a proxible bean.
Alexey Kazakov (JIRA)
jira-events at lists.jboss.org
Wed Dec 29 14:45:17 EST 2010
[ https://issues.jboss.org/browse/JBIDE-8018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Kazakov resolved JBIDE-8018.
-----------------------------------
Resolution: Done
> Problem marker for injection which resolves to a proxible bean.
> ---------------------------------------------------------------
>
> Key: JBIDE-8018
> URL: https://issues.jboss.org/browse/JBIDE-8018
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdi (jsr-299)
> Affects Versions: 3.2.0.CR1
> Reporter: Alexey Kazakov
> Assignee: Alexey Kazakov
> Fix For: 3.2.0.CR1
>
>
> 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)
> {
> this.container = container;
> }
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list