public class TransportModule extends AbstractModule
| Modifier and Type | Field and Description |
|---|---|
static String |
TRANSPORT_SERVICE_TYPE_KEY |
static String |
TRANSPORT_TYPE_KEY |
| Constructor and Description |
|---|
TransportModule(Settings settings) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configure()
Configures a
Binder via the exposed methods. |
void |
setTransport(Class<? extends Transport> transport,
String source) |
void |
setTransportService(Class<? extends TransportService> transportService,
String source) |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingpublic static final String TRANSPORT_TYPE_KEY
public static final String TRANSPORT_SERVICE_TYPE_KEY
public TransportModule(Settings settings)
protected void configure()
AbstractModuleBinder via the exposed methods.configure in class AbstractModulepublic void setTransportService(Class<? extends TransportService> transportService, String source)
Copyright © 2009–2016. All rights reserved.