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

DefaultAutowireProcessor has direct reference to mx.core.UIComponent

    Details

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

      Description

      Consider removing direct references to Flex SDK classes.

      package org.springextensions.actionscript.ioc.autowire
      {
      import flash.system.ApplicationDomain;

      import mx.core.UIComponent;
      .....

      ...line 481
      private function getApplicationDomain(object:Object):ApplicationDomain {
      if ((object is UIComponent) && UIComponent(object).moduleFactory)

      { var component:UIComponent = UIComponent(object); return component.moduleFactory.info().currentDomain as ApplicationDomain; }

      return _objectFactory.applicationDomain;
      }

        Activity

        Show
        Christophe Herreman added a comment - Fixed in trunk. New snapshot available at http://projects.yoolab.org/maven/content/repositories/snapshots/org/springextensions/actionscript/spring-actionscript-core/0.9-SNAPSHOT/

          People

          • Assignee:
            Christophe Herreman
            Reporter:
            nicholas hillier
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: