首页 > 代码库 > WebService之CXF注解之三(Service接口实现类)
WebService之CXF注解之三(Service接口实现类)
ITeacherServiceImpl.java:
/** * @Title:ITeacherServiceImpl.java * @Package:com.you.service.impl * @Description: * @author:Youhaidong(游海东) * @date:2014-5-5 下午11:08:39 * @version V1.0 */ package com.you.service.impl; import com.you.model.Teacher; import com.you.service.ITeacherService; /** * 类功能说明 * 类改动者 改动日期 * 改动说明 * <p>Title:ITeacherServiceImpl.java</p> * <p>Description:游海东个人开发</p> * <p>Copyright:Copyright(c)2013</p> * @author:游海东 * @date:2014-5-5 下午11:08:39 * @version V1.0 */ public class ITeacherServiceImpl implements ITeacherService { /* (non-Javadoc) * <p>Title:findTeacherInfo</p> * <p>Description:</p> * @param teacher * @return * @see com.you.service.ITeacherService#findTeacherInfo(com.you.model.Teacher) */ @Override public String findTeacherInfo(Teacher teacher) { return "教师工号:" + teacher.getTeacherNum() + "\n" +"教师名字:" + teacher.getTeacherName() + "\n" + "教师年龄:" + teacher.getTeacherAge() + "\n" + "教师性别:" + teacher.getTeacherSex() + "\n" + "教师QQ:" + teacher.getTeacherQQ(); } }
WebService之CXF注解之三(Service接口实现类)
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。