T - the type of the requested objectpublic interface Resolution<T>
dependencies which must be provided so that it can create the object.| Modifier and Type | Method and Description |
|---|---|
List<ObjectIdentifier> |
getDependencies()
Returns the dependencies that must be provided to create or retrieve the requested object.
|
T |
instantiateWith(Object... values)
Creates or retrieves an object with the given values as dependencies.
|
default boolean |
isInstantiation()
Returns whether this resolution will instantiate an object or not.
|
List<ObjectIdentifier> getDependencies()
instantiateWith(java.lang.Object...)T instantiateWith(Object... values)
getDependencies() in size, order and type
(as given by ObjectIdentifier.getType().values - the required dependenciesdefault boolean isInstantiation()
true when the requested object has to be instantiated.Copyright © 2017. All rights reserved.