Created
February 9, 2016 06:22
-
-
Save jmsalcido/384bcd03aeba6f8ef675 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface UserService { | |
User getUser(); | |
void processSomeEx(String some); | |
void save(User user); | |
} | |
public class UserServiceImpl implements UserService { | |
@Override | |
public User getUser() { | |
return this.userRepository.getUser(); | |
} | |
@Override | |
public void processSomeEx(String some) { | |
this.someProcessorService.process(some); | |
} | |
@Override | |
public void save(User user) { | |
this.userRepository.save(user); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment