Package com.day.cq.mailer.email
Interface RetrieverEmailTemplateFactory<Type extends Email>
- Type Parameters:
Type- Type of email
public interface RetrieverEmailTemplateFactory<Type extends Email>
An interface to reference a an OSGI Service for creating
This allow to share an instance wide configuration, like a From address or charSet
EmailTemplates. that are build form a a web pageThis allow to share an instance wide configuration, like a From address or charSet
- Since:
- 5.4
-
Method Summary
-
Method Details
-
create
- Parameters:
uri- to use as content of the Template to build- Returns:
- template or
nullif not able to build one - Throws:
RepositoryException- in case of exception building the template
-