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, requireBinding
public static final String TRANSPORT_TYPE_KEY
public static final String TRANSPORT_SERVICE_TYPE_KEY
public TransportModule(Settings settings)
protected void configure()
AbstractModule
Binder
via the exposed methods.configure
in class AbstractModule
public void setTransportService(Class<? extends TransportService> transportService, String source)
Copyright © 2009–2015. All rights reserved.