|
Silk DI 0.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Objectse.jbee.inject.util.Inject
public final class Inject
Utility to create/use the core containers Inject.SourcedInjector and Injectron.
| Nested Class Summary | |
|---|---|
static class |
Inject.SourcedInjector
The default Injector that gets the initial Injectrons from a
InjectronSource. |
| Method Summary | ||
|---|---|---|
static
|
asInjectable(Supplier<? extends T> supplier,
Injector injector)
|
|
static Injector |
from(InjectronSource source)
|
|
static
|
injectron(Injectable<T> injectable,
Resource<T> resource,
Demand<T> demand,
Expiry expiry,
Repository repository,
Source source)
|
|
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Injector from(InjectronSource source)
public static <T> Injectable<T> asInjectable(Supplier<? extends T> supplier,
Injector injector)
public static <T> Injectron<T> injectron(Injectable<T> injectable,
Resource<T> resource,
Demand<T> demand,
Expiry expiry,
Repository repository,
Source source)
|
Silk DI 0.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||