public abstract class ServiceLoaderModule
extends com.google.inject.AbstractModule
ServiceLoader.| Modifier and Type | Class and Description |
|---|---|
static interface |
ServiceLoaderModule.ServiceBinder<S> |
static class |
ServiceLoaderModule.ServiceProvider<S>
Custom provider that allows for member injection of a service.
|
static class |
ServiceLoaderModule.ServiceSetProvider<S>
Custom provider that enables member injection on services
|
| Constructor and Description |
|---|
ServiceLoaderModule() |
| Modifier and Type | Method and Description |
|---|---|
<S> ServiceLoaderModule.ServiceBinder<S> |
bindServices(java.lang.Class<S> type)
Load services and make them available via a Set
|
void |
configure() |
protected abstract void |
configureServices() |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingpublic final void configure()
configure in class com.google.inject.AbstractModuleprotected abstract void configureServices()
public <S> ServiceLoaderModule.ServiceBinder<S> bindServices(java.lang.Class<S> type)
type -