public interface SupplierHost
Modifier and Type | Interface and Description |
---|---|
static interface |
SupplierHost.ErasureSupportingSupplier<T>
A supplier providing a specific type of commodity that further enables to request to take the supplied
commodities out of the supplier's value (realizing a cut operation in two steps).
|
static interface |
SupplierHost.Supplier<T>
A supplier providing a specific commodity type.
|
Modifier and Type | Method and Description |
---|---|
<T> void |
register(Object source,
TransferType<T> type,
SupplierHost.Supplier<T> supplier)
Registers a supplier for the given component and type.
|
<T> void |
register(TransferType<T> type,
SupplierHost.Supplier<T> supplier)
Registers a supplier for the hosted gadget itself.
|
<T> void register(@NotNull Object source, @NotNull TransferType<T> type, @NotNull SupplierHost.Supplier<T> supplier)
source
- The source to register for.type
- The type of transfer being registered.supplier
- The supplier to be registered.<T> void register(@NotNull TransferType<T> type, @NotNull SupplierHost.Supplier<T> supplier)
type
- The type of transfer being registered.supplier
- The supplier to be registered.Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500