org.apache.camel.component.properties
Interface PropertiesResolver

All Known Implementing Classes:
DefaultPropertiesResolver

public interface PropertiesResolver

A resolver to load properties from a given source such as a file from a classpath.

Implementations can also load properties from another source source as JNDI.

Version:
$Revision: 18028 $

Method Summary
 Properties resolveProperties(CamelContext context, String... uri)
          Resolve properties from the given uri
 

Method Detail

resolveProperties

Properties resolveProperties(CamelContext context,
                             String... uri)
                             throws Exception
Resolve properties from the given uri

Parameters:
context - the camel context
uri - uri(s) defining the source(s)
Returns:
the properties
Throws:
Exception - is thrown if resolving the properties failed


Copyright © 2007-2010 IONA Open Source Community. All Rights Reserved.