public abstract class OxalisModule
extends com.google.inject.AbstractModule
| Constructor and Description |
|---|
OxalisModule() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
bindSettings(Class<?> cls)
Binds a configuration enum for use.
|
protected <T> void |
bindTyped(Class<T> cls,
Class<? extends T> impl)
Binds an implementation to an interface using the
Type annotation as replacement
for Named. |
protected <T> void |
bindTyped(Class<T> cls,
Class<? extends T> impl,
String... names)
Binds an implementation to an interface with names.
|
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingprotected <T> void bindTyped(Class<T> cls, Class<? extends T> impl)
Type annotation as replacement
for Named.cls - Interface used for binding.impl - Implementation with Type annotation.protected <T> void bindTyped(Class<T> cls, Class<? extends T> impl, String... names)
cls - Interface used for binding.impl - Implementation of interface..names - Names used to identifyprotected void bindSettings(Class<?> cls)
cls - Enum expressing configurations.Copyright © 2023 NorStella. All rights reserved.