@Service
public class AaaService implements IChangePassword {
@Override
public void changePassword(String username, String password) {
}
}
@Service
public class BbbService implements IChangePassword {
@Override
public void changePassword(String username, String password) {
}
}
public class AccountController extends BaseController {
@Autowired
@Qualifier("aaaService")
private IChangePassword aaaService;
@Autowired
@Qualifier("bbbService")
private IChangePassword bbbService;
}