Commits on Feb 9, 2010
  1. @tschneidereit
  2. @tschneidereit
  3. @tschneidereit

    Merge branch 'master' into childinjectors

    * master:
      FIX: Injector throws exception when trying to inject into mapped XML values
    tschneidereit committed Feb 9, 2010
  4. @tschneidereit
  5. @tschneidereit
  6. @tschneidereit
  7. @tschneidereit
  8. @tschneidereit
  9. @tschneidereit

    Added support for directly applying injector mapping rules and return…

    …ing the result using Injector#getMappedResponse
    tschneidereit committed Jan 23, 2010
  10. @tschneidereit

    Added support for querying mapping existence with Injector#hasMapping

    Additionally, some duplicated code in Injector was moved into helper methods
    tschneidereit committed Jan 23, 2010
  11. @tschneidereit

    Added proper error message for wrong XML configuration options to Inj…

    tschneidereit committed Jan 18, 2010
  12. @tschneidereit
  13. @tschneidereit

    Made Injector#setParentInjector public to enable turning independentl…

    …y created injectors into child injectors.
    This is mainly meant to be used in the context of Robotlegs, which subclasses Injector to allow for using swappable injector implementations through a uniform interface.
    Because SwiftSuspenders must not have a dependency on Robotlegs, we can't internally create an instance of Robotlegs' SwiftSuspendersInjector. Using the public setParentInjector method, it's possible to manually instantiate SwiftSuspendersInjector and set the parent context's injector as the parent injector afterwards.
    tschneidereit committed Jan 4, 2010
  14. @tschneidereit
  15. @tschneidereit
  16. @tschneidereit

    Changed Injector#unmap to only remove injection results instead of th…

    …e entire injectionConfig.
    tschneidereit committed Dec 8, 2009
  17. @tschneidereit
  18. @tschneidereit

    Removed old classes

    tschneidereit committed Dec 1, 2009
  19. @tschneidereit

    Added support for child injectors, enabling usage of different inject…

    …ion mappings for parts of a dependency tree
    In addition, injection results classes have been refactored to inherit from a base class instead of implementing an interface to facilitate code-reuse
    tschneidereit committed Dec 1, 2009
  20. @tschneidereit

    Further refactoring of injection configuration: InjectionPoints now g…

    …et assigned a fixed InjectionConfig which may or may not already have a result to return instead of querying the Injectors mappings each time an injection request for the InjectionPoint is made.
    Reasoning for this change:
    The InjectionConfig shouldn't be resolved anew each time a request for its result is made.
    Also, this is the last big step of preparation for creating child injectors that forward requests they can't fulfill themself to a parent injector.
    tschneidereit committed Nov 30, 2009
  21. @tschneidereit
  22. @tschneidereit

    Cleanup in license headers

    tschneidereit committed Nov 29, 2009
  23. @tschneidereit

    Change to InjectionConfig setup: Singletons dictionary is now stored …

    …in the InjectionConfig instead of being transferred through InjectionPoint
    tschneidereit committed Nov 29, 2009
  24. @tschneidereit

    Changed the way InjectionConfig's are configured: They now receive th…

    …eir injector reference at creation time instead of through the InjectionPoint
    tschneidereit committed Nov 26, 2009
  25. @tschneidereit

    Added test for falsy value mappings (i.e. empty strings, false boolea…

    …ns, numbers with value 0)
    tschneidereit committed Feb 9, 2010
Commits on Dec 10, 2009
  1. @tschneidereit
  2. @tschneidereit
Commits on Dec 8, 2009
  1. @tschneidereit

    Fixed an error in the documentation.

    Closes #12
    tschneidereit committed Dec 8, 2009
Commits on Nov 24, 2009
  1. @tschneidereit

    Changed version to 1.0.0

    tschneidereit committed Nov 24, 2009
  2. @tschneidereit
  3. @tschneidereit

    Fixed a bug that caused a recursive loop for mutually recursive injec…

    …tees, whose dependency resolution wasn't detected early enough.
    tschneidereit committed Nov 24, 2009
Commits on Nov 20, 2009
  1. @tschneidereit
  2. @tschneidereit
  3. @tschneidereit

    Added list of contributors

    tschneidereit committed Nov 20, 2009
  4. @tschneidereit