Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-2102

Consider adding synthetic container lifecycle event observers

    Details

      Description

      In Weld SE it's possible to pass an existing Extension instance. It might be useful (e.g. for prototyping) to provide an ExtensionBuilder so that it's possible to do something like:

      Extension myExtension = new ExtensionBuilder().afterBeanDiscovery((e,m) -> e.addBean().addType(Configuration.class).producing(new Configuration(1)));
      WeldContainer container = new Weld().addExtension(myExtension).initialize();
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mkouba Martin Kouba
                Reporter:
                mkouba Martin Kouba
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: