Class ProxyTargetConfig

java.lang.Object
org.jolokia.service.jsr160.ProxyTargetConfig

public class ProxyTargetConfig extends Object
Configuration for proxy mode
Since:
15.03.11
Author:
roland
  • Constructor Details

    • ProxyTargetConfig

      public ProxyTargetConfig(Map<String,String> pMap)
      Map which should contain the following keys
      • url -- JSR-160 Url of the target (mandatory)
      • user and password -- user and password to use (optional)
      Parameters:
      pMap - map containing configuration
  • Method Details

    • getUrl

      public String getUrl()
      JSR-160 service URL
      Returns:
      Remote service URL of the target
    • getEnv

      public Map<String,String> getEnv()
      Env with user and password or empty map
      Returns:
      environment map
    • toJSON

      public JSONObject toJSON()
      As JSON representation
      Returns:
      JSON object representing this proxy configuration
    • toString

      public String toString()
      Overrides:
      toString in class Object