Spring Framework

org.springframework.core.env
Interface PropertySources

All Superinterfaces:
java.lang.Iterable<PropertySource<?>>
All Known Implementing Classes:
MutablePropertySources

public interface PropertySources
extends java.lang.Iterable<PropertySource<?>>

Holder containing one or more PropertySource objects.

Since:
3.1
Author:
Chris Beams

Method Summary
 boolean contains(java.lang.String name)
          Return whether a property source with the given name is contained.
 PropertySource<?> get(java.lang.String name)
          Return the property source with the given name, null if not found.
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

contains

boolean contains(java.lang.String name)
Return whether a property source with the given name is contained.

Parameters:
name - the name of the property source to find

get

PropertySource<?> get(java.lang.String name)
Return the property source with the given name, null if not found.

Parameters:
name - the name of the property source to find

Spring Framework