@Service//业务层组件
public class UserInfoServiceImpl implements UserInfoService
{
Resource(name="userInfoMapper")
private UserInfoMapper userInfoMapper;
@Transactional(readOnly=true)
public List<UserInfo> getUserList(UserInfo user)
{
return userInfoMapper.getUser(user);
}
小弟这里就不明白了,这里把抽象类当做属性,为什么注入的时候也引用这个抽象类,不是引用抽象类的实现类吗!!??