SHARE
TWEET

Untitled

a guest Jul 19th, 2019 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class UserController{
  2.   private MailSender mailSender;
  3.   private UserService userService;
  4.   public UserController(UserService userService, MailSender mailSender)
  5.   public renderHtml(List<User> users);
  6. }
  7.  
  8. class MailSender{
  9.   private MailTemplate mailTemplate;
  10.   public void sendEmailTo(String email,String content);
  11. }
  12.  
  13. class UserService{
  14.   private DBConnection conn;
  15.    
  16.   public List<User> getUserList();
  17.   public User getUserByEmail(String email);
  18. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top