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

Weld SPI chapter documentation review for Weld 2.2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.2.0.CR2
    • 2.2.0.Beta2
    • Documentation
    • None

    Description

      • A.1. The Weld SPI
        " interface receives a cleanAfterBoot() method invocation once Weld initialization is finished but before the deployment is put into service. "
        should be "cleanupAfterBoot"
      • A.1.1. Deployment structure
        "The CDI specification discusses Bean Deployment Archives (BDAs)" it doesn't. there is only "bean archives" in CDI spec
      • A.1.4. EJB services
        "EJBServices" should be "EjbServices"
      • A.1.9.1. Resource injection point validation
        "Weld calls the InjectionServices.validateResourceInjectionPoint() method. "

      there is no InjectionServices.validateResourceInjectionPoint method

      • A.1.11. Bean Validation Services
        There should be noted that validation services are deprecated in Weld 2.
      • A.1.12. Identifying the BDA being addressed
        There is no "ServletServices.getBeanDeploymentArchive(ServletContext ctx)" in weld-spi
      • A.1.13. The bean store
        There is no org.jboss.weld.context.api.BeanStore. or org.jboss.weld.context.api.helpers.ConcurrentHashMapBeanStore in Weld anywhere
      • A.1.14. The application context
        There is no org.jboss.weld.context.api.BeanStore
      • A.1.15. Initialization and shutdown
        There is no "org.jboss.weld.bootstrap.WeldBeansBootstrap".
      • A.1.15. Initialization and shutdown
        " bootstrap.getServices().add(JpaServices.class, new MyJpaServices())" , should probably be calling getManager and getServices on that? (as bootstrap doesn't have "getServices")
      • A.1.16. Resource loading
        "org.jboss.weld.spi.ResourceLoader" should probably be "org.jboss.weld.resources.spi.ResourceLoader"
      • A.1.17. AnnotationDiscovery
        (note that AnnotationDiscovery is not marked as @Deprecated in the code)

      Attachments

        Activity

          People

            mbriskar_jira Matej Briskar (Inactive)
            maschmid@redhat.com Marek Schmidt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: