]
Cody Lerum closed SEAMMAIL-19.
------------------------------
Resolution: Done
Utilize an Interface for EmailTemplates
---------------------------------------
Key: SEAMMAIL-19
URL:
https://issues.jboss.org/browse/SEAMMAIL-19
Project: Seam Mail
Issue Type: Enhancement
Affects Versions: 3.0.0.Alpha1
Reporter: Cody Lerum
Assignee: Cody Lerum
Fix For: 3.0.0.Alpha1
Have you considered creating an abstraction here that alows for pluggable template
resolvers? Otherwise you have this "explosion" of methods in the interface that
may end up causing maintenance woes. However, if you replaced this with something like:
.template(new HtmlFromClassPath("template.html.vm"))
.subject(new HtmlFromClassPath("subject.html.vm"))
People would be empowered to implement a simple interface with limitless extension
possibilities.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: