javaserverfaces-spec-public
  1. javaserverfaces-spec-public
  2. JAVASERVERFACES_SPEC_PUBLIC-976 Future of JSF Managed Beans and CDI
  3. JAVASERVERFACES_SPEC_PUBLIC-763

Web Container injection support should be provided for additional lifecycle artifacts (not just managed beans)

    Details

    • Issuezilla Id:
      763
    • Status Whiteboard:
      Hide

      cat2 frame size_medium importance_large draft

      Show
      cat2 frame size_medium importance_large draft

      Description

      JSF implementations should treat the following framework components as JEE
      components, and pass them through the field-injection hooks as part of any
      instantiation process. E.g: Whether or not the framework is instantiating the
      object for it's use, or the user is asking the framework for a new instance.

      This means that any container provided injection points would automatically be
      available in the following artifacts:

      • ManagedBean
      • PhaseListener
      • SystemEventListener
      • Converter
      • Validator
      • ... more?

      For extension writers:

      • Support for native container-injection for all artifacts defined in
        section 11.4.6 of the JSR-314 spec.

      â-  ActionListener
      â-  ApplicationFactory
      â-  FacesContextFactory
      â-  LifecycleFactory
      â-  NavigationHandler
      â-  PropertyResolver
      â-  RenderKit
      â-  RenderKitFactory
      â-  ResourceHandler
      â-  StateManager
      â-  VariableResolver
      â-  ViewHandler

      1. 20120424-2319-i_spec_763.patch
        32 kB
        Ed Burns
      2. changebundle.txt
        23 kB
        Ed Burns

        Issue Links

          Activity

          Hide
          Ed Burns added a comment -

          Sending jsf-api/src/main/java/javax/faces/FactoryFinder.java
          Sending jsf-ri/test/com/sun/faces/renderkit/TestRenderKit.java
          Transmitting file data ..
          Committed revision 9561.

          Show
          Ed Burns added a comment - Sending jsf-api/src/main/java/javax/faces/FactoryFinder.java Sending jsf-ri/test/com/sun/faces/renderkit/TestRenderKit.java Transmitting file data .. Committed revision 9561.
          Hide
          Ed Burns added a comment -

          My implementation for this feature somehow breaks the JSR-299 TCK.

          Show
          Ed Burns added a comment - My implementation for this feature somehow breaks the JSR-299 TCK.
          Hide
          Ed Burns added a comment -

          The exception I am seeing is:

          java.lang.ClassCastException: org.jboss.jsr299.tck.impl.JSR299PropertiesBasedConfigurationBuilder cannot be cast to org.jboss.testharness.api.ConfigurationBuilder

          I see this on GlassFish 3.1.2. I haven't even tried the trunk yet.

          Show
          Ed Burns added a comment - The exception I am seeing is: java.lang.ClassCastException: org.jboss.jsr299.tck.impl.JSR299PropertiesBasedConfigurationBuilder cannot be cast to org.jboss.testharness.api.ConfigurationBuilder I see this on GlassFish 3.1.2. I haven't even tried the trunk yet.
          Hide
          Ed Burns added a comment -

          Asked Siva and several others if this was still failing. If I don't hear back from him by 20121031, I'll go ahead and close this.

          Show
          Ed Burns added a comment - Asked Siva and several others if this was still failing. If I don't hear back from him by 20121031, I'll go ahead and close this.
          Hide
          Ed Burns added a comment -

          No response regarding JSR299 TCK breakage, closing.

          Show
          Ed Burns added a comment - No response regarding JSR299 TCK breakage, closing.

            People

            • Assignee:
              Ed Burns
              Reporter:
              lincolnbaxter
            • Votes:
              6 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 3 days
                3d
                Remaining:
                Time Spent - 1 day, 7 hours, 26 minutes Remaining Estimate - 1 day, 16 hours, 34 minutes
                1d 16h 34m
                Logged:
                Time Spent - 1 day, 7 hours, 26 minutes Remaining Estimate - 1 day, 16 hours, 34 minutes
                1d 7h 26m