server.addServlet(RegistrationRobot.ROBOT_URI + "/*", RegistrationRobot.class);
}
private static void initializeFrontend(Injector injector, ServerRpcProvider server,
WaveBus waveBus) throws WaveServerException {
HashedVersionFactory hashFactory = injector.getInstance(HashedVersionFactory.class);
WaveletProvider provider = injector.getInstance(WaveletProvider.class);
WaveletInfo waveletInfo = WaveletInfo.create(hashFactory, provider);
ClientFrontend frontend =
ClientFrontendImpl.create(provider, waveBus, waveletInfo);