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

Wrong example code - refering non-existent Weld#shutdown()

    XMLWordPrintable

Details

    • Documentation (Ref Guide, User Guide, etc.)

    Description

      http://docs.jboss.org/weld/reference/latest/en-US/html_single/#weld-se

      public static void main(String[] args) {
      WeldContainer weld = new Weld().initialize();
      weld.instance().select(MyApplicationBean.class).get();
      weld.shutdown();
      }

      versus

      http://www.jarvana.com/jarvana/view/org/jboss/weld/weld-se/1.0.1-Final/weld-se-1.0.1-Final-javadoc.jar!/org/jboss/weld/environment/se/WeldContainer.html

      From which I conclude that the example's call to shutdown() is wrong.

      Attachments

        Activity

          People

            ajustin@redhat.com Ales Justin
            ozizka_jira Ondrej Zizka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: