首页>代码>spring + cxf 的webservice服务端和客户端功能>/cxf_pro/src/com/hgq/cxf/service/impl/WeatherServiceImpl.java
package com.hgq.cxf.service.impl;
import javax.annotation.Resource;
import org.springframework.beans.factory.annotation.Required;
import org.springframework.stereotype.Service;
import com.hgq.cxf.service.CxfService;
import com.hgq.cxf.service.WeatherService;
@Service("weatherService")
public class WeatherServiceImpl implements WeatherService
{
private CxfService cxfServiceClient;
@Resource
@Required
public void setCxfServiceClient(CxfService cxfServiceClient)
{
this.cxfServiceClient = cxfServiceClient;
}
@Override
public String getWeatherByDay(int day)
{
return this.cxfServiceClient.getWeather(day);
}
}
最近下载更多
503382513 LV12
2022年12月6日
gao123qq LV21
2021年5月17日
1140377596 LV1
2021年5月3日
z1933946957 LV1
2021年4月13日
15947813008 LV5
2020年12月28日
夏同学 LV1
2020年6月9日
far_away LV1
2020年5月5日
14327211789 LV1
2020年4月1日
15398544947 LV9
2020年3月27日
dengjunjun LV15
2019年12月11日

最近浏览