javaserverfaces
  1. javaserverfaces
  2. JAVASERVERFACES-153

Enable resource injection in managed bean creation facility

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      153

      Description

      Implement resource injection in managed beans.

        Activity

        Hide
        jayashri added a comment -

        Taking ownership

        Show
        jayashri added a comment - Taking ownership
        Hide
        jayashri added a comment -

        change priority to P2. This is needed to be feature complete for JSF 1.2

        Show
        jayashri added a comment - change priority to P2. This is needed to be feature complete for JSF 1.2
        Hide
        jayashri added a comment -

        A src/com/sun/faces/config/FacesInjectionManager.java
        Injects resources via reflection. Delegates to InjectionManager
        API in GlassFish/SJSAS 9.0

        M src/com/sun/faces/config/ManagedBeanFactory.java
        inject any resources after the bean instance is created.

        M systest/build-tests.xml
        add a test target for resource injection.

        M systest/build.xml
        remove source attribute passed to javac target.

        A systest/src/com/sun/faces/systest/model/ResourceInjectionBean.java
        A systest/web/resourceInjection01.jsp
        M systest/web/WEB-INF/faces-config.xml
        A systest/web/golden/resourceInjection01.txt
        Test case for ResourceInjection

        M systest-per-webapp/build-tests.xml
        M systest-per-webapp/build.xml
        M
        systest-per-webapp/replace-statemanager/src/java/com/sun/faces/systest/NewApplication.java
        M
        systest-per-webapp/replace-statemanager/src/java/com/sun/faces/systest/NewStateManager.java

        • consolidate in active tests
        • Do not deploy in active tests
        • activate ReplaceStateManager test case.
        Show
        jayashri added a comment - A src/com/sun/faces/config/FacesInjectionManager.java Injects resources via reflection. Delegates to InjectionManager API in GlassFish/SJSAS 9.0 M src/com/sun/faces/config/ManagedBeanFactory.java inject any resources after the bean instance is created. M systest/build-tests.xml add a test target for resource injection. M systest/build.xml remove source attribute passed to javac target. A systest/src/com/sun/faces/systest/model/ResourceInjectionBean.java A systest/web/resourceInjection01.jsp M systest/web/WEB-INF/faces-config.xml A systest/web/golden/resourceInjection01.txt Test case for ResourceInjection M systest-per-webapp/build-tests.xml M systest-per-webapp/build.xml M systest-per-webapp/replace-statemanager/src/java/com/sun/faces/systest/NewApplication.java M systest-per-webapp/replace-statemanager/src/java/com/sun/faces/systest/NewStateManager.java consolidate in active tests Do not deploy in active tests activate ReplaceStateManager test case.
        Hide
        jayashri added a comment -

        Created an attachment (id=82)
        change bundle

        Show
        jayashri added a comment - Created an attachment (id=82) change bundle
        Hide
        jayashri added a comment -

        Fix checked in.

        Show
        jayashri added a comment - Fix checked in.
        Hide
        Manfred Riem added a comment -

        Closing issue out

        Show
        Manfred Riem added a comment - Closing issue out

          People

          • Assignee:
            jayashri
            Reporter:
            jayashri
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: