org.apache.synapse.commons.resolvers

## Class SystemResolver

- java.lang.Object
- - org.apache.synapse.commons.resolvers.SystemResolver

- All Implemented Interfaces:
    Resolver

      public class SystemResolver
      extends java.lang.Object
      implements Resolver

  System resolver can be used to resolve environment variables in the synapse config.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SystemResolver()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `resolve()` environment variable is resolved in this function
    `void` | `setVariable(java.lang.String input)` set environment variable which needs to resolved

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SystemResolver

          public SystemResolver()

  - ### Method Detail

    - #### setVariable

          public void setVariable(java.lang.String input)

      set environment variable which needs to resolved
      Specified by:
        `setVariable` in interface `Resolver`

    - #### resolve

          public java.lang.String resolve()

      environment variable is resolved in this function
      Specified by:
        `resolve` in interface `Resolver`
      Returns:
        resolved value for the environment variable

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