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

Consider adding synthetic container lifecycle event observers

XMLWordPrintable

      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();
      

              mkouba@redhat.com Martin Kouba
              mkouba@redhat.com Martin Kouba
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: