podafIoc
A powerful Dependency Injection / Inversion Of Control (IOC) framework
Mixins
ActorPools | (Service) - Maintains a collection of named |
DependencyProvider | Implement to provide your own dependency resolution. |
DependencyProviderSource | (Service) - Contribute your DependencyProvider implementations to this. |
LogProvider | (Service) - A DependencyProvider that injects |
Registry | (Service) - The registry of IoC services; this is the main IoC service. |
RegistryMeta | (Service) - Holds meta information as to how the IoC registry was built. |
RegistryShutdownHub | (Service) - Contribute functions to be executed on Registry shut down. |
RegistryStartup | (Service) - Contribute functions to be executed on Registry start up. |
ServiceBinder | Use in your |
ServiceBindingOptions | Returned from |
ServiceOverride | (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 afIoc 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. |
ServiceStat | As returned by ServiceStats. |
StrategyRegistry | A helper class that looks up Objs via Type inheritance search. |
TypeCoercer | A helper class that coerces Objs to a given Type via |
Enums
InjectionType | 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 |
NotFoundErr | A generic helper Err thrown when a value is not found in an expected list of values. |
WtfErr | Thrown when an impossible condition occurs. |