IoC 2.0.0
A powerful Dependency Injection / Inversion Of Control framework

IoC is an Inversion of Control (IoC) container and Dependency Injection (DI) framework inspired by the most excellent Tapestry 5 IoC for Java.

Like Guice? Know Spring? Then you'll love IoC!

  • Field injection
  • Ctor injection
  • Distributed service configuration
  • Lazy loading
  • Service advising
  • Simple API

IoC is the modular framework that binds your application together.

Read more...

Install

To install IoC with Fantom Pod Manager, cut'n'paste the following into a cmd prompt, terminal or shell:

Or to install IoC with the Fantom Repository Manager (fanr), cut'n'paste the following into a cmd prompt, terminal or shell:

Or to install manually, download the pod file and copy it to the %FAN_HOME%/lib/fan/ directory.

afIoc.pod (250.96 kB)

Use

To use IoC in a Fantom project, add a dependency to the project's build.fan:

depends = ["sys 1.0", ..., "afIoc 2.0.0 - 2.0"]

Documentation

Information

Meta information on the IoC pod:

Published by
Steve Eynon
Organisation
Alien-Factory
Pod file size
250.96 kB
Licence
The MIT Licence
Built on
12th Sep 2014
Source code
at https://bitbucket.org/AlienFactory/afioc
Depends on
afBeanUtils, afConcurrent, afPlastic, compiler, concurrent, sys
Referenced by
afBedSheetEfan, afGenesis
Javascript Compatible
No

Dependency Graph

  Use mouse to re-position pods

Release History

There have been 39 releases of IoC: