Class DefaultPropertiesLookup
- java.lang.Object
-
- org.apache.camel.component.properties.DefaultPropertiesLookup
-
- All Implemented Interfaces:
PropertiesLookup
public class DefaultPropertiesLookup extends Object implements PropertiesLookup
DefaultPropertiesLookup
which lookup properties from aProperties
with all existing properties.
-
-
Constructor Summary
Constructors Constructor Description DefaultPropertiesLookup(PropertiesComponent component)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
lookup(String name)
Lookup the property with the given name
-
-
-
Constructor Detail
-
DefaultPropertiesLookup
public DefaultPropertiesLookup(PropertiesComponent component)
-
-
Method Detail
-
lookup
public String lookup(String name)
Description copied from interface:PropertiesLookup
Lookup the property with the given name- Specified by:
lookup
in interfacePropertiesLookup
- Parameters:
name
- property name- Returns:
- the property value, or null if the properties does not exist.
-
-