Class InProcessServerModule


  • @Module(includes=ServerModule.class)
    public final class InProcessServerModule
    extends java.lang.Object
    Installing this module into a @Singleton component means the component can provide a Server that serves in-process requests.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static InProcessServerModule serverNamed​(java.lang.String name)
      Creates a module that provides a server that binds to a given name
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • serverNamed

        public static InProcessServerModule serverNamed​(java.lang.String name)
        Creates a module that provides a server that binds to a given name
        Parameters:
        name - the identity of the server for clients to connect to