| SomaInjector |
Author: Romuald Quantin - www.soundstep.com
Resources: http://www.soundstep.com/downloads/somacore
Actionscript version: 3.0
Copyright:
Mozilla Public License 1.1 (MPL 1.1)
http://www.opensource.org/licenses/mozilla1.1.php
The SomaInjector Class is an adapter for the injection library used by the framework: Swiftsuspenders.
http://github.com/tschneidereit/SwiftSuspenders
Injection is not enabled by default to keep the framework lighter in its basic use.
To enable injection, The Soma Class constructor or its setup public method can receive a Class that must extends ISomaInjector.
The default framework injector that can be used is SomaInjector.
The SomaInjector instance is accessible using the injector property from the facade (your Soma instance), the wires, the mediators and the commands.
The injector instance can be used directly and/or using metadata tags such as [Inject] or [PostConstruct], see the SwiftSuspenders documentation for more information: https://github.com/tschneidereit/SwiftSuspenders
|