public class TransportModule extends AbstractModule
| 修飾子とタイプ | フィールドと説明 |
|---|---|
static String |
LOCAL_TRANSPORT |
static String |
NETTY_TRANSPORT |
static String |
TRANSPORT_SERVICE_TYPE_KEY |
static String |
TRANSPORT_TYPE_KEY |
| コンストラクタと説明 |
|---|
TransportModule(Settings settings,
NamedWriteableRegistry namedWriteableRegistry) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
addTransport(String name,
Class<? extends Transport> clazz) |
void |
addTransportService(String name,
Class<? extends TransportService> clazz) |
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 TransportModule(Settings settings, NamedWriteableRegistry namedWriteableRegistry)
public void addTransportService(String name, Class<? extends TransportService> clazz)
protected void configure()
AbstractModuleBinder via the exposed methods.configure クラス内 AbstractModulepublic void setTransportService(Class<? extends TransportService> transportService, String source)
Copyright © 2009–2016. All rights reserved.