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

CDI Project should provide a built-in bean with type InjectionPoint

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.3.0.M4
    • 3.3.0.M3
    • cdi
    • None
    • Hide

      EXECUTE: Create a CDI project.
      EXECUTE: Create the following bean:

      public class TestBean {
      	@Inject InjectionPoint injection;
      }
      

      ASSERT: @Inject InjectionPoint injection; should not be marked as an unsatisfied dependency.

      Show
      EXECUTE: Create a CDI project. EXECUTE: Create the following bean: public class TestBean { @Inject InjectionPoint injection; } ASSERT: @Inject InjectionPoint injection; should not be marked as an unsatisfied dependency.

      5.5.7. Injection point metadata
      ...
      The container must provide a bean with scope @Dependent, bean type InjectionPoint and qualifier @Default, allowing
      dependent objects, as defined in Section 6.4.1, "Dependent objects", to obtain information about the injection point to
      which they belong. The built-in implementation must be a passivation capable dependency, as defined in Section 6.6.2,
      "Passivation capable dependencies".

            scabanovich Viacheslav Kabanovich (Inactive)
            alexeykazakov Alexey Kazakov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: