OSAKA — In the years following the Meiji Restoration of 1868, when Japan ended nearly 2 1/2 centuries of isolation, Tokyo, Yokohama and Kobe in particular saw a large influx of Western men in uniform, merchants, teachers and clerics.