com.lab.service.BService Maven / Gradle / Ivy
package com.lab.service;
import com.github.youyinnn.youdbutils.ioc.ServiceIocBean;
import com.github.youyinnn.youdbutils.ioc.annotations.Autowired;
import com.github.youyinnn.youdbutils.ioc.annotations.Transaction;
import com.github.youyinnn.youdbutils.ioc.annotations.YouService;
import com.lab.dao.BDao;
import java.sql.SQLException;
/**
*
* @author youyinnn
*
*/
@YouService(scope = ServiceIocBean.SINGLETON)
public class BService {
@Autowired
private CService service;
@Autowired
private BDao bDao;
public void aaa() throws SQLException {
bDao.a();
bDao.b();
}
public void e() {
bDao.e();
}
public BDao getbDao() {
return bDao;
}
public void getCService() {
System.out.println(service);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy