Created
September 28, 2015 16:44
-
-
Save stephan-mueller/d9434e61c7459c270e21 to your computer and use it in GitHub Desktop.
Cdi managed service
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
@ApplicationScoped | |
public class MailService { | |
private static final Logger LOG = LoggerFactory.getLogger(MailService.class); | |
public void sendMail(String subject, String body, String... recipients) { | |
LOG.info("sendMail: \n" + "subject: \n" + subject + "body: \n" + body); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment