Package org.apache.camel.spi
Interface PropertiesSourceFactory
public interface PropertiesSourceFactory
Factory for creating out of the box
PropertiesSource
.-
Method Summary
Modifier and TypeMethodDescriptionnewClasspathPropertiesSource
(String location) New classpath basedPropertiesSource
newFilePropertiesSource
(String location) New file basedPropertiesSource
New ref basedPropertiesSource
-
Method Details
-
newFilePropertiesSource
New file basedPropertiesSource
- Parameters:
location
- location of the file
-
newClasspathPropertiesSource
New classpath basedPropertiesSource
- Parameters:
location
- location of the file in the classpath
-
newRefPropertiesSource
New ref basedPropertiesSource
- Parameters:
ref
- id for theProperties
bean.
-