registry = LocateRegistry.createRegistry(registryPort);
registry.list();
}
logger.info("Exporting Workspace Manager under: {}/{}", serviceName, registry);
server = new ServerWorkspaceManager(workspaceManager);
RemoteStub stub = UnicastRemoteObject.exportObject(server);
registry.rebind(serviceName, stub);
logger.info("Exported Workspace Manager: {}", stub);
}