public class SimpleResolution<T> extends Object implements Resolution<T>
Resolution.| Constructor and Description |
|---|
SimpleResolution(T 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisInstantiationpublic SimpleResolution(T object)
public List<ObjectIdentifier> getDependencies()
ResolutiongetDependencies in interface Resolution<T>Resolution.instantiateWith(java.lang.Object...)public T instantiateWith(Object... values)
ResolutionResolution.getDependencies() in size, order and type
(as given by ObjectIdentifier.getType().instantiateWith in interface Resolution<T>values - the required dependenciesCopyright © 2017. All rights reserved.