Is it possible to configure the rmi gateway as a registry, or do I need to fall back to core spring and not use a gateway at all?