Permalink
Commits on Sep 29, 2011
  1. SwiftSuspenders-50: InjectionConfig::setResult should check if m_resu…

    …lt === result and not show error trace
    
    Closes #50
    committed Jun 21, 2011
Commits on Jun 14, 2011
  1. Merge pull request #52 from ZackPierce/master

    Configuration xml schema
    committed Jun 14, 2011
Commits on May 5, 2011
  1. Adding an XML schema file for the validation of injector configuratio…

    …n xml. Also correcting typo of multiple attributes with the same name on the same node in the README sample configuration xml.
    ZackPierce committed May 5, 2011
Commits on Feb 5, 2011
Commits on Jan 23, 2011
  1. Changed the Injector to cache injection points across all instances t…

    …o enable huge performance gains in using many short-lived child injectors
    
    At the same time, the list of injection points has been made weak so that types from child ApplicationDomains don't keep the ApplicationDomain from being GCed if nothing else keeps it alive.
    
    As XML configuration doesn't expect to interact with metadata configuration at all, passing XML to the Injector ctor disables the global cache.
    
    All tests were adapted to call Injector.purgeInjectionPointsCache to make sure there aren't any unexpected interactions between different tests.
    committed Jan 23, 2011
  2. Changed MethodInjectionPoint and PropertyInjectionPoint to not requir…

    …e an injector for gathering their configuration settings. The Injector parameter is left available but made optional in all injection points to guarantee backwards compatibility in terms of semantic versioning.
    committed Jan 23, 2011
  3. Added trace on overwriting of pre-existing result to InjectionConfig

    Additionally, added some more tests for InjectionConfig.
    
    Closes #39
    committed Jan 23, 2011
Commits on Jan 9, 2011
  1. Added explicit cast from Object to Class to ConstructorInjectionPoint…

    …#applyInjection to make stricter code analysis tools happy
    committed Jan 9, 2011
Commits on Jan 8, 2011
Commits on May 20, 2010
Commits on May 15, 2010
  1. Changed README to reflect changes in child injectors behavior and add…

    …ed note about trick to use metadata based injection point configuration to section about XML based configuration
    committed May 15, 2010
Commits on May 13, 2010
Commits on May 12, 2010
  1. simplified failing test. grand children injectors are broken. has not…

    …hing to do with getInstance
    joelhooks committed May 12, 2010
Commits on May 11, 2010
  1. Increased version number to 1.5.0b8 after mergin in Joel Hooks' fixes…

    … to some ApplicationDomain problems
    committed May 11, 2010
Commits on May 10, 2010
  1. Changed behavior of child injectors. Instead of permanently returning…

    … to the parent injector once a missing dependency is encountered, the dependency is satisfied by the parent injector but the child injector retains control and processes subsequent injections further down the object tree
    committed May 10, 2010
  2. updated to b7

    joelhooks committed May 10, 2010
  3. There are known issues with modules, applications

    domains and flash.utils.getDefinitionByName. The 
    loaded module
    joelhooks committed May 10, 2010
Commits on May 2, 2010
Commits on Apr 24, 2010
  1. getInstance changed to getMappedInstance to explicitly identify what …

    …the API actually does. getInstance implies that I will recieve an instance no matter what. Instead I get an error if it isn't mapped. This is an unexpected result. Sure, getInstance is nice and short, but a little verbosity here makes the intent of the API much clearer. An alternative would be to use Injector#instantiate to return an injected instance if the mapping is not available.
    joelhooks committed Apr 24, 2010
  2. Injector#getConfigurationRequest now checks parent for config to supp…

    …ort a proper true result for hasMapping on a child injector.
    joelhooks committed Apr 24, 2010