podafIoc
A powerful 'Inversion Of Control' (IOC) framework
Mixins
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. |
RegistryOptions | (Service) - Holds the options passed into RegistryBuilder.build(). |
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 |
ServiceIds | A list of public service IDs as defined by IoC |
ServiceOverride | (Service) - Contribute to override previously defined services. |
ServiceStats | (Service) - Holds a list of all the services defined by this IoC. |
ThreadStashManager | (Service) - Use to create ThreadStashes whose contents may be automatically deleted. |
Classes
ConcurrentCache | A helper class that wraps a |
ConcurrentState | A helper class to store and retrieve state between threads; use in |
InjectionCtx | Passed into DependencyProviders to give contextual injection information. |
IocHelper | Little methods to help ease your IoC development. |
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. |
ThreadStash | A wrapper around Actor.locals ensuring a unique namespace per instance. |
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. |