podafIoc

A powerful Dependency Injection (DI) / Inversion Of Control (IoC) 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 service.

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.

ServiceBinder

Use in your AppModule.bind(ServiceBinder binder) {...} method.

ServiceBindingOptions

Returned from ServiceBinder.bind(); lets you specify additional service options.

ServiceOverrides

(Service) - Contribute to override previously defined services.

ServiceStats

(Service) - Holds a list of all the services defined by this IoC.

ThreadLocalManager

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

Classes

Configuration

Passed into module contribution methods to allow the method to contribute configuration.

InjectionCtx

Passed into DependencyProviders to give contextual injection information.

IocService

Wraps an IoC Registry instance as Fantom service.

MethodAdvisor

Passed into module advisor methods to allow the method to, err, advise services!

MethodInvocation

Used by aspects to call the method they wrap.

RegistryBuilder

Use to create an IoC Registry.

Enums

InjectionKind

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

ServiceLifecycle

Used by ServiceStat to define the lifecycle state of a service.

ServiceScope

Scope definitions for Services.

Facets

Advise

Use in AppModule classes to denote a service advisor method.

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 dependencies and services.

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