# Package org.apache.synapse.mediators.bsf

- Interface Summary
  Interface | Description
  --- | ---
  ScriptMessageContext | ScriptMessageContext decorates the MessageContext interface by adding methods to use when deals with message payload XML/Json, in a way natural to the scripting languages.

- Class Summary
  Class | Description
  --- | ---
  CommonScriptMessageContext | CommonScriptMessageContext decorates the Synapse MessageContext adding methods to use the message payload XML in a way natural to the scripting languages.
  JavaScriptXmlHelper | This class will provide the operation to getPayloadXML and setPayload of CommonScriptMessageContext to convert between XML and ScriptXML object since there is an api change in rhino17,This class is provided instead of getting Helper class by XMLHelper.getArgHelper(engine) in bsf
  NashornJavaScriptMessageContext | NashornJavaScriptMessageContext implements the ScriptMessageContext specific to Nashorn java script engine.
  NashornJavaScriptXmlHelper | This class will provide the operations to convert between xml elements of scripts and OMElements.
  ScriptEngineWrapper |
  ScriptMediator | A Synapse mediator that calls a function in any scripting language supported by the BSF.
  ScriptMediatorFactory | Creates an instance of a Script mediator for inline or external script mediation for BSF scripting languages.
  ScriptMediatorSerializer | Serializer for a script mediator

Copyright © 2005–2018 Apache Software Foundation. All rights reserved.