podafIoc

A configurable Dependency Injection (DI) framework

Mixins

DependencyProvider

Extend the capabilities of IoC by providing your own dependency resolution.

DependencyProviderSource

Contribute DependencyProviders to provide your own dependencies for fields annotated with the @Inject facet.

Registry

The registry of IoC services.

RegistryShutdownHub

Event hub for notifications when the Registry shuts down.

RegistryStartup

Executes a series of (user defined) operations when the Registry starts up.

ServiceBinder

Allows a module to bind service facets to implementations.

ServiceBindingOptions

Lets you specify additional options for a service, overriding defaults.

Classes

ConcurrentState

A helper class used to store, access and retrieve mutable state within a const class.

IocHelper

Little methods to help ease your IoC development.

IocService

Wraps a Registry instance as Fantom service.

LocalStash

A wrapper around Actor.locals ensuring a unique namespace per instance.

MappedConfig

Passed into module contribution methods to allow the method to, err, contribute!

OrderedConfig

Passed into module contribution methods to allow the method to, err, contribute!

ProviderCtx

As given to DependencyProviders.

RegistryBuilder

Builds a Registry from Modules.

Enums

ServiceScope

Scope definitions for Services.

Facets

Autobuild

An optional facet to use in conjunction with @Inject.

Build

Use in a module class to denote a service builder method.

Contribute

Use in a module class to denote a service contribution method.

Inject

Swiss Army Knife

PostInjection

Marks a service method to be called after ctor and field injection.

ServiceId

An optional facet to use in conjunction with @Inject to specify a service to inject.

SubModule

Place on module classes to define other modules to be loaded.

Errs

IocErr

As thrown by IoC

WtfErr

Thrown when an impossible condition occurs.