podafIoc

A powerful Dependency Injection / Inversion Of Control framework

Mixins

ActorPools

(Service) - Maintains a collection of named ActorPools.

DependencyProvider

Implement to provide your own dependency resolution.

LogProvider

(Service) - A DependencyProvider that injects Log instances.

Registry

(Service) - The registry of IoC services; this is the main IoC interface.

RegistryMeta

(Service) - Holds meta information on how the IoC registry was built.

RegistryShutdown

(Service) - Contribute functions to be executed on Registry shutdown.

RegistryStartup

(Service) - Contribute functions to be executed on Registry startup.

ThreadLocalManager

(Service) - Use to create LocalRef / LocalList / LocalMap instances whose contents can be cleaned up.

Classes

Configuration

Passed to AppModule @Contribute methods to allow the method to contribute configuration.

Constraints

Returned from AppModule Configuration methods to add ordering constraints to your contributions.

InjectionCtx

Passed to DependencyProviders to give contextual injection information.

IocService

Wraps an IoC Registry instance as Fantom service.

MethodAdvisor

Passed to AppModule @Advise methods to allow the method to, err, advise services!

MethodInvocation

Returned from AppModule MethodAdvisor methods to wrap calls to advised methods.

RegistryBuilder

Use to create an IoC Registry.

ServiceDefinition

Service information, as returned by Registry.serviceDefinitions().

ServiceDefinitionOptions

Returned from AppModule ServiceDefinitions methods to allow further service options to be set.

ServiceDefinitions

Passed to AppModule defineServices() methods to add and override service definitions.

ServiceOverrideOptions

Returned from AppModule ServiceDefinitions methods to allow further override options to be set.

Enums

InjectionKind

As returned by InjectionCtx to inform DependencyProviders what kind of injection is occurring.

ServiceLifecycle

As returned by ServiceDefinition to define the lifecycle state of a service.

ServiceProxy

Proxy strategies for Services.

ServiceScope

Scope definitions for Services.

Facets

Advise

Use in AppModule classes to denote a service advisor method.

Autobuild

Use in services to inject classes that have not been defined as a service.

Build

Use in AppModule classes to denote a service builder method.

Contribute

Use in AppModule classes to denote a service contribution method.

Inject

Use in services to inject other services and dependencies.

Override

Use in AppModule classes to denote a service override method.

PostInjection

Use in services to mark a method to be called after ctor and field injection.

SubModule

Use on AppModule classes to define other modules to be loaded.

Errs

IocErr

As thrown by IoC.