2015-04-10 12:45:02 +02:00
|
|
|
/**
|
|
|
|
* @module
|
2015-04-15 22:35:38 +00:00
|
|
|
* @public
|
2015-04-10 12:45:02 +02:00
|
|
|
* @description
|
2015-04-17 03:29:05 -07:00
|
|
|
* The `di` module provides dependency injection container services.
|
2015-04-10 12:45:02 +02:00
|
|
|
*/
|
|
|
|
|
2015-06-19 16:33:49 -07:00
|
|
|
export {
|
|
|
|
InjectAnnotation,
|
|
|
|
OptionalAnnotation,
|
|
|
|
InjectableAnnotation,
|
2015-06-26 15:59:18 -07:00
|
|
|
DependencyAnnotation,
|
|
|
|
VisibilityAnnotation,
|
|
|
|
SelfAnnotation,
|
|
|
|
ParentAnnotation,
|
|
|
|
AncestorAnnotation,
|
|
|
|
UnboundedAnnotation
|
2015-06-19 16:33:49 -07:00
|
|
|
} from './src/di/annotations';
|
|
|
|
|
2015-06-26 15:59:18 -07:00
|
|
|
export {
|
|
|
|
Inject,
|
|
|
|
Optional,
|
|
|
|
Injectable,
|
|
|
|
Visibility,
|
|
|
|
Self,
|
|
|
|
Parent,
|
|
|
|
Ancestor,
|
|
|
|
Unbounded
|
|
|
|
} from './src/di/decorators';
|
|
|
|
export {self} from './src/di/annotations_impl';
|
2015-06-19 16:33:49 -07:00
|
|
|
export {forwardRef, resolveForwardRef, ForwardRefFn} from './src/di/forward_ref';
|
2015-06-26 15:59:18 -07:00
|
|
|
export {
|
|
|
|
resolveBindings,
|
|
|
|
Injector,
|
|
|
|
ProtoInjector,
|
2015-07-06 10:38:12 -07:00
|
|
|
DependencyProvider,
|
2015-06-26 15:59:18 -07:00
|
|
|
PUBLIC_AND_PRIVATE,
|
|
|
|
PUBLIC,
|
|
|
|
PRIVATE,
|
2015-06-29 11:15:49 -07:00
|
|
|
undefinedValue
|
2015-06-26 15:59:18 -07:00
|
|
|
} from './src/di/injector';
|
2015-05-22 13:16:36 -07:00
|
|
|
export {Binding, BindingBuilder, ResolvedBinding, Dependency, bind} from './src/di/binding';
|
2015-05-08 17:57:03 -07:00
|
|
|
export {Key, KeyRegistry, TypeLiteral} from './src/di/key';
|
2015-04-24 15:19:11 -07:00
|
|
|
export {
|
|
|
|
NoBindingError,
|
|
|
|
AbstractBindingError,
|
|
|
|
AsyncBindingError,
|
|
|
|
CyclicDependencyError,
|
|
|
|
InstantiationError,
|
|
|
|
InvalidBindingError,
|
2015-06-26 15:59:18 -07:00
|
|
|
NoAnnotationError,
|
|
|
|
OutOfBoundsError
|
2015-04-24 15:19:11 -07:00
|
|
|
} from './src/di/exceptions';
|
2015-02-05 13:08:05 -08:00
|
|
|
export {OpaqueToken} from './src/di/opaque_token';
|