podafIoc
A powerful Dependency Injection (DI) / Inversion Of Control (IoC) framework
Mixins
ActorPools | (Service) - Maintains a collection of named |
DependencyProvider | Implement to provide your own dependency resolution. |
LogProvider | (Service) - A DependencyProvider that injects |
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 |
ServiceBindingOptions | Returned from |
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 |
Classes
InjectionCtx | Passed into DependencyProviders to give contextual injection information. |
IocService | Wraps an IoC Registry instance as Fantom service. |
MappedConfig | Passed into module contribution methods to allow the method to, err, contribute! |
MethodAdvisor | Passed into module advisor methods to allow the method to, err, advise services! |
MethodInvocation | Used by aspects to call the method they wrap. |
OrderedConfig | Passed into module contribution methods to allow the method to, err, contribute! |
RegistryBuilder | Use to create an IoC Registry. |
Enums
InjectionKind | Used by InjectionCtx to inform |
ServiceLifecycle | Used by ServiceStat to define the lifecycle state of a service. |
ServiceScope | Scope definitions for Services. |
Facets
Advise | Use in |
Autobuild | An optional facet to use in conjunction with @Inject. |
Build | Use in |
Contribute | Use in |
Inject | Use in services to inject dependencies. |
PostInjection | Use in services to mark a 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 | Use on |
Errs
IocErr | As thrown by IoC |