Class EnvironmentVariableResolver.Default

java.lang.Object
com.tangosol.coherence.config.EnvironmentVariableResolver.Default
All Implemented Interfaces:
EnvironmentVariableResolver
Enclosing interface:
EnvironmentVariableResolver

public static class EnvironmentVariableResolver.Default extends Object implements EnvironmentVariableResolver
Default EnvironmentVariableResolver implementation.

This implementation simply delegates to System.getenv(String).

  • Constructor Details

    • Default

      public Default()
  • Method Details

    • getEnv

      public String getEnv(String sVarName)
      Description copied from interface: EnvironmentVariableResolver
      Return the value of the specified environment variable.
      Specified by:
      getEnv in interface EnvironmentVariableResolver
      Parameters:
      sVarName - the name of the environment variable to return
      Returns:
      the value of the specified environment variable