|
Silk DI 0.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Provider<T>
A indirection that resolves the instance lazily when provide() is invoked. This is
mainly used to allow the injection and usage of instances that have a more unstable scope into an
instance of a more stable scope.
In contrast to other DI-frameworks this is no core concept. To enable Providers
install the them through buildin-Bundle.
But it is also very easy to use another similar provider interface by installing such a bridge
Supplier.
| Method Summary | |
|---|---|
T |
provide()
|
| Method Detail |
|---|
T provide()
|
Silk DI 0.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||