code: public <T extends InvocationMarshaller<?>> T registerDispatcher (
          InvocationDispatcher<T> dispatcher)
      {
          return registerDispatcher(dispatcher, null);
      }
docs: Registers the supplied invocation dispatcher, returning a marshaller that can be used to
  send requests to the provider for whom the dispatcher is proxying.
  
  @param dispatcher the dispatcher to be registered.