com.atlassian.templaterenderer
Class AbstractVelocityWebPanelRenderer
java.lang.Object
com.atlassian.templaterenderer.AbstractVelocityWebPanelRenderer
- All Implemented Interfaces:
- com.atlassian.plugin.web.renderer.WebPanelRenderer
Deprecated. It is broken as it does not listen for when plugins are reloaded. This leads stale references to old
renderers being used for reloaded plugins. The non-api class AbstractCachingWebPanelRenderer provides a correct
implementation based on this class.
@Deprecated
public abstract class AbstractVelocityWebPanelRenderer
- extends Object
- implements com.atlassian.plugin.web.renderer.WebPanelRenderer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractVelocityWebPanelRenderer
public AbstractVelocityWebPanelRenderer()
- Deprecated.
getResourceType
public String getResourceType()
- Deprecated.
- Specified by:
getResourceType in interface com.atlassian.plugin.web.renderer.WebPanelRenderer
render
public void render(String s,
com.atlassian.plugin.Plugin plugin,
Map<String,Object> stringObjectMap,
Writer writer)
throws IOException
- Deprecated.
- Specified by:
render in interface com.atlassian.plugin.web.renderer.WebPanelRenderer
- Throws:
IOException
renderFragment
public String renderFragment(String s,
com.atlassian.plugin.Plugin plugin,
Map<String,Object> stringObjectMap)
- Deprecated.
- Specified by:
renderFragment in interface com.atlassian.plugin.web.renderer.WebPanelRenderer
createRenderer
protected abstract TemplateRenderer createRenderer(com.atlassian.plugin.Plugin plugin)
- Deprecated.
- Parameters:
plugin - the Plugin to be used as context for the created renderer. It provides the ClassLoader for
resolving templates and other resources and a plugin key to be used to resolve template context items from the
TemplateContextFactory.
- Returns:
- a
TemplateRenderer for the supplied Plugin. This may be cached by the underlying
implementation.
createCacheMap
protected Map<String,TemplateRenderer> createCacheMap()
- Deprecated.
Copyright © 2012 Atlassian. All Rights Reserved.