com.holonplatform.spring

## Interface EnvironmentConfigPropertyProvider

- All Superinterfaces:
    ConfigPropertyProvider
  All Known Implementing Classes:
    DefaultEnvironmentConfigPropertyProvider

      public interface EnvironmentConfigPropertyProvider
      extends ConfigPropertyProvider

  A `ConfigPropertyProvider` using Spring context `Environment` as configuration property source.
  Since:
    5.0.0

- - ### Method Summary

    All Methods Static Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `static EnvironmentConfigPropertyProvider` | `create(org.springframework.core.env.Environment environment)` Create an `EnvironmentConfigPropertyProvider` using given Spring `environment`.
    `org.springframework.core.env.Environment` | `getEnvironment()` Gets the Spring Environment.

    - ### Methods inherited from interface com.holonplatform.core.config.ConfigPropertyProvider

      `containsProperty, getProperty, getPropertyNames, prefixed, using, using, using, using, using, usingSystemProperties`

- - ### Method Detail

    - #### getEnvironment

          org.springframework.core.env.Environment getEnvironment()

      Gets the Spring Environment.
      Returns:
        the Spring Environment

    - #### create

          static EnvironmentConfigPropertyProvider create(org.springframework.core.env.Environment environment)

      Create an `EnvironmentConfigPropertyProvider` using given Spring `environment`.
      Parameters:
        `environment` - Spring `Environment` (not null)
      Returns:
        A new EnvironmentConfigPropertyProvider

Copyright © 2019 The Holon Platform. All rights reserved.