静的変数注入方法

309 ワード

public class DistrictSearch {
@Autowired
private DistrictCityRemoteService districtcityCityRemoteService;
private static DistrictCityRemoteService districtcityCityRemoteService;

@PostConstruct
private void trans() {
	 districtcityCityRemoteService = districtcityCityRemoteService;
	}