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

WELD should try to resolve injection points in webapp's jar files

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • None
    • None
    • None

      Having following example scenario:

      webapp.war

      • /WEB-INF/lib/jar-with-some-nice-business-logic.jar - contains some injection points ( i.e. ICacheManager ) and using DefaultBean shipped with SeamSolder a default implementation ( as the injection points have to be satisfied )
      • /WEB-INF/lib/caching-solution-provider.jar - provides CacheManagerImpl

      Having this simple example I would like to have this injection point satisfied by this caching-solution-provider.jar. With such solution I would be able to change my caching-solution-provider.jar without any code modification just by changing dependency in pom.xml for another cache provider which would be able to satisfy my contract.

      Then my development process would be similar to development in OSGi and blueprint as DI provider. I would care only about fulfilling the contracts by various artefacts.

            pmuiratbleepbleep Pete Muir (Inactive)
            osgi-ready Krzysztof Maslak (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: