Uploaded image for project: 'CDI Specification Issues'
  1. CDI Specification Issues
  2. CDI-45

Optional Injection Points

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Obsolete
    • Icon: Optional Optional
    • TBD
    • 1.0
    • Resolution
    • None

      There are occoasions where it may be useful for some injection points to be optional, e.g.

      @Inject
      @Optional
      MyBean bean;

      This would behave the same as a normal injection point, however it will not cause the deployment to fail if it is not satisified.

            Unassigned Unassigned
            sdouglas1@redhat.com Stuart Douglas
            Votes:
            6 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: