移动计费管理软件
源代码在线查看: servicefactory.java
package yyxtong.service.servicefactory;
import yyxtong.service.dept.IDeptService;
import yyxtong.service.emp.IEmpService;
import yyxtong.service.log.ILogService;
import yyxtong.service.pcroom.IPcroomService;
import yyxtong.service.privilege.IPrivilegeService;
public class ServiceFactory implements IServiceFactory {
public ILogService logService;
public IPrivilegeService privilegeService;
public IPcroomService pcroomService;
public IDeptService deptService;
public IEmpService empService;
/* (non-Javadoc)
* @see yyxt.service.servicefactory.IServiceFactory#getLogService()
*/
/* (non-Javadoc)
* @see yyxtong.service.servicefactory.IServiceFactory#getLogService()
*/
public ILogService getLogService() {
return logService;
}
/* (non-Javadoc)
* @see yyxt.service.servicefactory.IServiceFactory#setLogService(yyxt.service.log.ILogService)
*/
/* (non-Javadoc)
* @see yyxtong.service.servicefactory.IServiceFactory#setLogService(yyxtong.service.log.ILogService)
*/
public void setLogService(ILogService logService) {
this.logService = logService;
}
/* (non-Javadoc)
* @see yyxt.service.servicefactory.IServiceFactory#getPrivilegeService()
*/
/* (non-Javadoc)
* @see yyxtong.service.servicefactory.IServiceFactory#getPrivilegeService()
*/
public IPrivilegeService getPrivilegeService() {
return privilegeService;
}
/* (non-Javadoc)
* @see yyxt.service.servicefactory.IServiceFactory#setPrivilegeService(yyxt.service.privilege.IPrivilegeService)
*/
/* (non-Javadoc)
* @see yyxtong.service.servicefactory.IServiceFactory#setPrivilegeService(yyxtong.service.privilege.IPrivilegeService)
*/
public void setPrivilegeService(IPrivilegeService privilegeService) {
this.privilegeService = privilegeService;
}
/* (non-Javadoc)
* @see yyxt.service.servicefactory.IServiceFactory#getPcroomService()
*/
/* (non-Javadoc)
* @see yyxtong.service.servicefactory.IServiceFactory#getPcroomService()
*/
public IPcroomService getPcroomService() {
return pcroomService;
}
/* (non-Javadoc)
* @see yyxt.service.servicefactory.IServiceFactory#setPcroomService(yyxt.service.pcroom.IPcroomService)
*/
/* (non-Javadoc)
* @see yyxtong.service.servicefactory.IServiceFactory#setPcroomService(yyxtong.service.pcroom.IPcroomService)
*/
public void setPcroomService(IPcroomService pcroomService) {
this.pcroomService = pcroomService;
}
/* (non-Javadoc)
* @see yyxt.service.servicefactory.IServiceFactory#getDeptService()
*/
/* (non-Javadoc)
* @see yyxtong.service.servicefactory.IServiceFactory#getDeptService()
*/
public IDeptService getDeptService() {
return deptService;
}
/* (non-Javadoc)
* @see yyxt.service.servicefactory.IServiceFactory#setDeptService(yyxt.service.dept.IDeptService)
*/
/* (non-Javadoc)
* @see yyxtong.service.servicefactory.IServiceFactory#setDeptService(yyxtong.service.dept.IDeptService)
*/
public void setDeptService(IDeptService deptService) {
this.deptService = deptService;
}
/* (non-Javadoc)
* @see yyxt.service.servicefactory.IServiceFactory#getEmpService()
*/
/* (non-Javadoc)
* @see yyxtong.service.servicefactory.IServiceFactory#getEmpService()
*/
public IEmpService getEmpService() {
return empService;
}
/* (non-Javadoc)
* @see yyxt.service.servicefactory.IServiceFactory#setEmpService(yyxt.service.emp.IEmpService)
*/
/* (non-Javadoc)
* @see yyxtong.service.servicefactory.IServiceFactory#setEmpService(yyxtong.service.emp.IEmpService)
*/
public void setEmpService(IEmpService empService) {
this.empService = empService;
}
}