public class FreemarkerTemplateService extends Object implements ITemplateService
| Constructor and Description |
|---|
FreemarkerTemplateService(com.google.common.util.concurrent.ListeningExecutorService listeningExecutorService,
ITenantService tenantService) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<String> |
process(String tenant,
String templateName) |
com.google.common.util.concurrent.ListenableFuture<String> |
register(String tenant,
Protos.Template template) |
@Inject
public FreemarkerTemplateService(com.google.common.util.concurrent.ListeningExecutorService listeningExecutorService,
ITenantService tenantService)
public com.google.common.util.concurrent.ListenableFuture<String> register(String tenant, Protos.Template template)
register in interface ITemplateServicepublic com.google.common.util.concurrent.ListenableFuture<String> process(String tenant, String templateName)
process in interface ITemplateServiceCopyright © 2015. All rights reserved.