consciouscode.seedling.config
Interface ConfigLoader

All Known Implementing Classes:
ConfigLoaderSequence, PropertiesConfigLoader

public interface ConfigLoader

Loads configuration resources from a ResourceTree.

Implementations must be thread-safe.


Method Summary
 ConfigResource loadConfigResource(ResourceTree resources, NodePath fullPath)
          Returns a configuration resource for a specified node, if one exists in the given resource tree.
 String nodeNameForResource(String resourceName)
           
 

Method Detail

nodeNameForResource

String nodeNameForResource(String resourceName)

loadConfigResource

ConfigResource loadConfigResource(ResourceTree resources,
                                  NodePath fullPath)
                                  throws ConfigLoadingException
Returns a configuration resource for a specified node, if one exists in the given resource tree.

Parameters:
fullPath - identifies the desired node. It must be a full path.
Returns:
null if no configuration resource exists for the node within the resource tree.
Throws:
ConfigLoadingException


Copyright © 2001–2012 Todd V. Jonker. All Rights Reserved.