org.apache.tuscany.core.config.impl
Class AbstractModuleComponentConfigurationLoader
java.lang.Object
org.apache.tuscany.core.config.impl.AbstractModuleComponentConfigurationLoader
- All Implemented Interfaces:
- ModuleComponentConfigurationLoader
- Direct Known Subclasses:
- StAXModuleComponentConfigurationLoaderImpl
public abstract class AbstractModuleComponentConfigurationLoader
- extends Object
- implements ModuleComponentConfigurationLoader
- Version:
- $Rev$ $Date$
Method Summary |
protected ComponentType |
getCompositeComponentType()
|
protected ComponentTypeIntrospector |
getIntrospector()
|
protected ComponentType |
getSystemCompositeComponentType()
|
abstract Module |
loadModule(URL url)
|
ModuleComponent |
loadModuleComponent(String name,
String uri)
Load a SCDL module component. |
protected ModuleComponent |
loadModuleComponent(String moduleFileName,
String fragmentFileName,
String name,
String uri)
|
ModuleComponent |
loadModuleComponent(String name,
String uri,
URL url)
Load a SCDL module component. |
ModuleComponent |
loadModuleComponent(String name,
String uri,
URL moduleUri,
Collection<URL> moduleFragmentUris)
Load a SCDL module component. |
abstract ModuleFragment |
loadModuleFragment(URL url)
|
ModuleComponent |
loadSystemModuleComponent(String name,
String uri)
Load a System SCDL module component. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
modelContext
protected final AssemblyContext modelContext
resourceLoader
protected final ResourceLoader resourceLoader
assemblyFactory
protected final AssemblyFactory assemblyFactory
AbstractModuleComponentConfigurationLoader
protected AbstractModuleComponentConfigurationLoader(AssemblyContext modelContext)
getIntrospector
protected ComponentTypeIntrospector getIntrospector()
getSystemCompositeComponentType
protected ComponentType getSystemCompositeComponentType()
throws ConfigurationLoadException
- Throws:
ConfigurationLoadException
getCompositeComponentType
protected ComponentType getCompositeComponentType()
throws ConfigurationLoadException
- Throws:
ConfigurationLoadException
loadSystemModuleComponent
public ModuleComponent loadSystemModuleComponent(String name,
String uri)
throws ConfigurationLoadException
- Description copied from interface:
ModuleComponentConfigurationLoader
- Load a System SCDL module component.
- Specified by:
loadSystemModuleComponent
in interface ModuleComponentConfigurationLoader
- Parameters:
name
- the name of the module component
- Returns:
- a new module component definition
- Throws:
ConfigurationLoadException
- if there was a problem loading the module component.
loadModuleComponent
public ModuleComponent loadModuleComponent(String name,
String uri)
throws ConfigurationLoadException
- Description copied from interface:
ModuleComponentConfigurationLoader
- Load a SCDL module component.
- Specified by:
loadModuleComponent
in interface ModuleComponentConfigurationLoader
- Parameters:
name
- the name of the module component
- Returns:
- a new module component definition
- Throws:
ConfigurationLoadException
- if there was a problem loading the module component.
loadModuleComponent
protected ModuleComponent loadModuleComponent(String moduleFileName,
String fragmentFileName,
String name,
String uri)
throws ConfigurationLoadException
- Throws:
ConfigurationLoadException
loadModuleComponent
public ModuleComponent loadModuleComponent(String name,
String uri,
URL url)
throws ConfigurationLoadException
- Description copied from interface:
ModuleComponentConfigurationLoader
- Load a SCDL module component.
- Specified by:
loadModuleComponent
in interface ModuleComponentConfigurationLoader
- Parameters:
name
- the name of the module component
- Returns:
- a new module component definition
- Throws:
ConfigurationLoadException
- if there was a problem loading the module component.
loadModuleComponent
public ModuleComponent loadModuleComponent(String name,
String uri,
URL moduleUri,
Collection<URL> moduleFragmentUris)
throws ConfigurationLoadException
- Description copied from interface:
ModuleComponentConfigurationLoader
- Load a SCDL module component.
- Specified by:
loadModuleComponent
in interface ModuleComponentConfigurationLoader
- Parameters:
name
- the name of the module component
- Returns:
- a new module component definition
- Throws:
ConfigurationLoadException
- if there was a problem loading the module component.
loadModule
public abstract Module loadModule(URL url)
throws ConfigurationLoadException
- Throws:
ConfigurationLoadException
loadModuleFragment
public abstract ModuleFragment loadModuleFragment(URL url)
throws ConfigurationLoadException
- Throws:
ConfigurationLoadException
-