|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface SupplierHost
Host that enables transfers from registered suppliers.
The host provides special treatments to different kind of targets:
| Nested Class Summary | |
|---|---|
static interface |
SupplierHost.Supplier<T>
A supplier providing a specific commodity type. |
| Method Summary | ||
|---|---|---|
|
register(Object target,
TransferType<T> type,
SupplierHost.Supplier<T> supplier)
Registers a supplier for the given component and type. |
|
| Method Detail |
|---|
<T> void register(@NotNull
Object target,
@NotNull
TransferType<T> type,
@NotNull
SupplierHost.Supplier<T> supplier)
target - The target to register for.type - The type of transfer being registered.supplier - The supplier to be registered.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||