@FunctionalInterface public interface TerminableConsumer
| Modifier and Type | Method and Description |
|---|---|
<T extends AutoCloseable> |
bind(T terminable)
Binds with the given terminable.
|
default <T extends TerminableModule> |
bindModule(T module)
Binds with the given terminable module.
|
@Nonnull <T extends AutoCloseable> T bind(@Nonnull T terminable)
T - the terminable typeterminable - the terminable to bind with@Nonnull default <T extends TerminableModule> T bindModule(@Nonnull T module)
T - the module typemodule - the module to bind withCopyright © 2020. All rights reserved.