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

Some of org.jboss.weld.environment.se.Weld fields should be probably protected

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Minor
    • 3.0.3.Final, 2.4.7.Final
    • None
    • None
    • None

    Description

      Users are allowed to extend org.jboss.weld.environment.se.Weld and override Weld.createDeployment() method. However, a subclass cannot access the private fields such as properties or extensions. We should either disallow to extend org.jboss.weld.environment.se.Weld (that's not backward compatible) or change some modifiers so that the overriding makes sense. Also the example in Weld.createDeployment() javadoc is not ideal - ResourceLoader could be set through Weld.setResourceLoader(ResourceLoader) method.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: