Class VaultLookupFunction

java.lang.Object
org.wso2.carbon.mediation.security.vault.xpath.VaultLookupFunction
All Implemented Interfaces:
org.jaxen.Function

public class VaultLookupFunction extends Object implements org.jaxen.Function
Implements the XPath extension function synapse:vault-lookup(scope,prop-name)
  • Field Details

  • Constructor Details

    • VaultLookupFunction

      public VaultLookupFunction(org.apache.synapse.MessageContext synCtx)
  • Method Details

    • call

      public Object call(org.jaxen.Context context, List args) throws org.jaxen.FunctionCallException
      Returns the string value of the property which is get from the corresponding context to the provided scope . vault-lookup('xxx')
      Specified by:
      call in interface org.jaxen.Function
      Parameters:
      context - the context at the point in the expression when the function is called
      args - arguments of the functions
      Returns:
      The string value of a property
      Throws:
      org.jaxen.FunctionCallException