public class TemplateContextFactoryImpl extends Object implements TemplateContextFactory, org.springframework.beans.factory.DisposableBean
| Constructor and Description |
|---|
TemplateContextFactoryImpl(com.atlassian.plugin.PluginAccessor pluginAccessor,
com.atlassian.plugin.event.PluginEventManager eventManager) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
createContext(String pluginKey,
Map<String,Object> contextParams)
Create a context for a template renderer
|
void |
destroy() |
public TemplateContextFactoryImpl(com.atlassian.plugin.PluginAccessor pluginAccessor,
com.atlassian.plugin.event.PluginEventManager eventManager)
public Map<String,Object> createContext(String pluginKey, Map<String,Object> contextParams)
createContext in interface TemplateContextFactorycontextParams - Any extra context parameters that should be added to the contextpluginKey - The plugin to create the context forpublic void destroy()
destroy in interface org.springframework.beans.factory.DisposableBeanCopyright © 2020 Atlassian. All rights reserved.