@Module(includes=ServerModule.class) public final class InProcessServerModule extends java.lang.Object
@Singleton
component means the component can
provide a Server
that serves in-process requests.Modifier and Type | Method and Description |
---|---|
static InProcessServerModule |
serverNamed(java.lang.String name)
Creates a module that provides a server that binds to a given name
|
public static InProcessServerModule serverNamed(java.lang.String name)
name
- the identity of the server for clients to connect to