我已经两次问过这个问题,但我是stackoverflow的新手,似乎我不知道在这里格式化我的示例代码的规则.现在我决定给出完整的一堆电话,我希望我能解释一下这种情况,因为一切都很奇怪,我找不到用来形容它的话.首先,我将向您介绍与问题有关的类的来源.我的实际问题是在页面的最后.大块的代码是以防万一,因为我不知道什么可以解释我的问题.这是一个服务外观,可以从我的flex应用程序中获取调用.
public class ServiceFacade implements IAuthenticationService, IProfileService, ICampaignService {
@Autowired
private IAuthenticationService authenticationService;
@Autowired
private IProfileService profileService;
@Autowired
private ICampaignService campaignService;
public void login(User user) throws AuthenticationException{
authenticationService.login(user);
}
@Override
public void logout() throws AuthenticationException {
authenticationService.logout();
}
@Override
public void sendForgottenPassword(String email) {
authenticationService.sendForgottenPassword(email);
}
@Override
public Profile getProfile(Long userId) {
return profileService.getProfile(userId);
}
@Override
public Profile updateProfile(Profile profile) {
return profileService.updateProfile(profile);
}
@Override
public Collection<String> getSocialConnectionsTypes(Long userId) {
return profileService.getSocialConnectionsTypes(userId);
}
@Override
public List<Email> findDuplicateEmails(Long profileId, List<Email> emails) …Run Code Online (Sandbox Code Playgroud)