MyFaces Core
  1. MyFaces Core
  2. MYFACES-2894

Eager bean is not created at application startup

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.2-SNAPSHOT
    • Fix Version/s: 2.0.2
    • Component/s: JSR-314
    • Labels:
      None

      Description

      For the following code:

      <managed-bean eager="true">
      <managed-bean-name>eagerBean</managed-bean-name>
      <managed-bean-class>demo.EagerBean</managed-bean-class>
      <managed-bean-scope>application</managed-bean-scope>
      </managed-bean>

      package demo;

      public class EagerBean {

      public EagerBean()

      { System.out.println("EagerBean.EagerBean()"); }

      }

      bean is not being initialized at application startup.

        Activity

        Hide
        Jakob Korherr added a comment -

        This works now.

        Actually we did not support this feature at all until now (we did not even check the eager attribute in the faces-config or in @ManagedBean).

        Show
        Jakob Korherr added a comment - This works now. Actually we did not support this feature at all until now (we did not even check the eager attribute in the faces-config or in @ManagedBean).
        Hide
        Jakob Korherr added a comment -

        looks like we oversaw this feature, there is nothing implemented so far.

        Show
        Jakob Korherr added a comment - looks like we oversaw this feature, there is nothing implemented so far.

          People

          • Assignee:
            Jakob Korherr
            Reporter:
            Nick Belaevski
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development