Tuscany Core

org.apache.tuscany.core.config
Interface ModuleComponentConfigurationLoader

All Known Implementing Classes:
AbstractModuleComponentConfigurationLoader, StAXModuleComponentConfigurationLoaderImpl

public interface ModuleComponentConfigurationLoader

Interface for loading configuration information from some external form into a Tuscany logical model.

Version:
$Rev: 368822 $ $Date: 2006-01-13 10:54:38 -0800 (Fri, 13 Jan 2006) $

Method Summary
 ModuleComponent loadModuleComponent(String name, String uri)
          Load a SCDL module component.
 ModuleComponent loadModuleComponent(String name, String uri, URL url)
          Load a SCDL module component.
 ModuleComponent loadModuleComponent(String name, String uri, URL url, Collection<URL> urls)
          Load a SCDL module component.
 ModuleComponent loadSystemModuleComponent(String name, String uri)
          Load a System SCDL module component.
 

Method Detail

loadModuleComponent

ModuleComponent loadModuleComponent(String name,
                                    String uri)
                                    throws ConfigurationLoadException
Load a SCDL module component.

Parameters:
name - the name of the module component
uri -
Returns:
a new module component definition
Throws:
ConfigurationLoadException - if there was a problem loading the module component.

loadSystemModuleComponent

ModuleComponent loadSystemModuleComponent(String name,
                                          String uri)
                                          throws ConfigurationLoadException
Load a System SCDL module component.

Parameters:
name - the name of the module component
uri -
Returns:
a new module component definition
Throws:
ConfigurationLoadException - if there was a problem loading the module component.

loadModuleComponent

ModuleComponent loadModuleComponent(String name,
                                    String uri,
                                    URL url)
                                    throws ConfigurationLoadException
Load a SCDL module component.

Parameters:
name - the name of the module component
uri -
url -
Returns:
a new module component definition
Throws:
ConfigurationLoadException - if there was a problem loading the module component.

loadModuleComponent

ModuleComponent loadModuleComponent(String name,
                                    String uri,
                                    URL url,
                                    Collection<URL> urls)
                                    throws ConfigurationLoadException
Load a SCDL module component.

Parameters:
name - the name of the module component
uri -
url -
urls -
Returns:
a new module component definition
Throws:
ConfigurationLoadException - if there was a problem loading the module component.

Tuscany Core

-