injectServer

public void injectServer(Server server)

Injects a server to this container.

All calls to createGrpcServer will resolve to the given server instance. The server instance is used as-is, no other configuration methods have any effect on it.

A test-only method.