SX Spring Actionscript
  1. SX Spring Actionscript
  2. SESPRINGACTIONSCRIPTAS-111

DefaultObjectDefinitionResolver is not set on DefaultAutowiringStageProcessor

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: None
    • Component/s: IoC container
    • Labels:
      None

      Description

      Per Documentation:

      "Spring Actionscript by default uses a DefaultObjectDefinitionResolver instance."

      But in the code itself (DefaultAutowiringStageProcessor):

      line 65: _objectDefinitionResolver = null; //new DefaultObjectDefinitionResolver(objectFactory);

      Since nulling this out the wiring via XML on UIComponents doesn't work as described in the documentation. It will fail if you don't register the DefaultObjectDefinitionResolver yourself.

        Activity

        Hide
        Roland Zwaga added a comment -

        Fixed in the trunk. The DefaultObjectDefinitionResolver is indeed not created by default anymore, the documentation now describes how to change the XML configuration to make use of the DefaultObjectDefinitionResolver.

        Show
        Roland Zwaga added a comment - Fixed in the trunk. The DefaultObjectDefinitionResolver is indeed not created by default anymore, the documentation now describes how to change the XML configuration to make use of the DefaultObjectDefinitionResolver.

          People

          • Assignee:
            Roland Zwaga
            Reporter:
            Philipp Marx
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: