org.apache.synapse.mediators.template
Class TemplateContext

java.lang.Object
  extended by org.apache.synapse.mediators.template.TemplateContext

public class TemplateContext
extends Object

This class will store runtime context of a synapse function template. For each invoked Template a context will be populated with function parameters.


Method Summary
 String getName()
           
 Collection getParameters()
           
 Object getParameterValue(String paramName)
           
 void setupParams(MessageContext synCtxt)
          evaluate raw parameters passed from an invoke medaiator and store them in this context
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setupParams

public void setupParams(MessageContext synCtxt)
evaluate raw parameters passed from an invoke medaiator and store them in this context

Parameters:
synCtxt - Synapse MessageContext

getParameterValue

public Object getParameterValue(String paramName)

getName

public String getName()

getParameters

public Collection getParameters()


Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.