Defines abstraction over given declaration bound to be injected. Given Dependency
has it's definition.
Anything
Object
Dependency
Basic
Identifiable
Object
Anything
Constructors | |
Dependency | shared Dependency(String name, TypeIdentifier definition, NestableDeclaration declaration) Parameters:
|
Attributes | |
declaration | shared NestableDeclaration declaration Declaration of given dependency |
identifier | shared TypeIdentifier identifier Identifies type providing ability to easly retreive instance of dependency. |
name | shared String name Name of dependency |
resolve | shared formal Anything resolve Resolve given Throws
|
string | shared actual default String string= "``identifier`` ``name``" A developer-friendly string representing the instance.
Concatenates the name of the concrete class of the
instance with the Refines Object.string |
Inherited Attributes |
Attributes inherited from: Object hash , string |
Inherited Methods |
Methods inherited from: Object equals |
Nested Interfaces | |
Decorator | shared static Decorator Depdency decorated with annotation implementing this interface, will change |
Nested Classes | |
Decoration | shared static abstract Decoration Used for creating of decorated dependency, reduces runtime errors with missing decorator passed as parameters. |
Nested Exceptions | |
DecorationError | shared static DecorationError |
ResolutionError | shared static ResolutionError Thrown whenver |