com.atlassian.plugin.web
Interface ContextProvider


public interface ContextProvider

Main purpose of this is to add additional context entries for the web fragment and make it available within the XML


Method Summary
 java.util.Map getContextMap(java.util.Map context)
          Gets the additional context map to make available for the web fragment
 void init(java.util.Map params)
          Called after creation and autowiring.
 

Method Detail

init

void init(java.util.Map params)
          throws PluginParseException
Called after creation and autowiring.

Parameters:
params - The optional map of parameters specified in XML.
Throws:
PluginParseException

getContextMap

java.util.Map getContextMap(java.util.Map context)
Gets the additional context map to make available for the web fragment

Returns:
context map for velocity templates


Copyright © 2008 Atlassian Software Systems Pty Ltd. All Rights Reserved.