Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-8018

Problem marker for injection which resolves to a proxible bean.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.2.0.CR1
    • 3.2.0.CR1
    • cdi
    • None

    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)

      { this.container = container; }

      Attachments

        Activity

          People

            alexeykazakov Alexey Kazakov
            alexeykazakov Alexey Kazakov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: