code: public RmiServerBuilder remoteInterfaces(Class<? extends Remote> ... remoteInterfaces) {
          endpoint.setRemoteInterfaces(Arrays.asList(remoteInterfaces));
          return this;
      }
docs: Sets the remote interfaces property.
  @param remoteInterfaces
  @return