Skip to content

Instantly share code, notes, and snippets.

@stephan-mueller
Created September 28, 2015 16:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stephan-mueller/cfec34c91acbd6e72b8a to your computer and use it in GitHub Desktop.
Save stephan-mueller/cfec34c91acbd6e72b8a to your computer and use it in GitHub Desktop.
Specialized implementation for the service {@link MailService}.
@Specializes
public class SpecializedMailService extends MailService {
public static CountDownLatch latch;
@Override
public void sendMail(final String subject, final String body, final String... recipients) {
latch.countDown();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment