Package org.apache.camel.spi
Interface PropertiesSource
- All Known Subinterfaces:
LoadablePropertiesSource
public interface PropertiesSource
A source for properties.
A source can implement
Ordered
to control the ordering of which sources are used by the Camel properties
component. The source with the highest precedence (the lowest number) will be used first.-
Method Summary
Modifier and TypeMethodDescriptiongetName()
Name of properties sourcegetProperty
(String name) Gets the property with the name
-
Method Details
-
getName
String getName()Name of properties source -
getProperty
Gets the property with the name- Parameters:
name
- name of property- Returns:
- the property value, or null if no property exists
-