org.springframework.boot.bind
Class PropertySourcesPropertyValues

java.lang.Object
  extended by org.springframework.boot.bind.PropertySourcesPropertyValues
All Implemented Interfaces:
org.springframework.beans.PropertyValues

public class PropertySourcesPropertyValues
extends Object
implements org.springframework.beans.PropertyValues

A PropertyValues implementation backed by a PropertySources, bridging the two abstractions and allowing (for instance) a regular DataBinder to be used with the latter.

Author:
Dave Syer

Constructor Summary
PropertySourcesPropertyValues(org.springframework.core.env.PropertySources propertySources)
          Create a new PropertyValues from the given PropertySources
 
Method Summary
 org.springframework.beans.PropertyValues changesSince(org.springframework.beans.PropertyValues old)
           
 boolean contains(String propertyName)
           
 org.springframework.beans.PropertyValue getPropertyValue(String propertyName)
           
 org.springframework.beans.PropertyValue[] getPropertyValues()
           
 boolean isEmpty()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertySourcesPropertyValues

public PropertySourcesPropertyValues(org.springframework.core.env.PropertySources propertySources)
Create a new PropertyValues from the given PropertySources

Parameters:
propertySources - a PropertySources instance
Method Detail

getPropertyValues

public org.springframework.beans.PropertyValue[] getPropertyValues()
Specified by:
getPropertyValues in interface org.springframework.beans.PropertyValues

getPropertyValue

public org.springframework.beans.PropertyValue getPropertyValue(String propertyName)
Specified by:
getPropertyValue in interface org.springframework.beans.PropertyValues

changesSince

public org.springframework.beans.PropertyValues changesSince(org.springframework.beans.PropertyValues old)
Specified by:
changesSince in interface org.springframework.beans.PropertyValues

contains

public boolean contains(String propertyName)
Specified by:
contains in interface org.springframework.beans.PropertyValues

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface org.springframework.beans.PropertyValues


Copyright © 2013. All Rights Reserved.