Tuscany Assembly Model

org.apache.tuscany.model.assembly
Interface Module

All Superinterfaces:
AssemblyObject, Composite, Extensible, Implementation
All Known Implementing Classes:
ModuleImpl

public interface Module
extends Composite

A specialized Implementation that defines a modular unit of assembly. A Module denotes the extent of assembly in which pass-by-reference semantics are supported.


Method Summary
 ModuleFragment getModuleFragment(String name)
          Returns the specified assembly fragment.
 List<ModuleFragment> getModuleFragments()
          Returns a list of assembly fragments that combine to form a single module.
 
Methods inherited from interface org.apache.tuscany.model.assembly.Composite
getComponents, getConfiguredService, getEntryPoints, getExternalServices, getImplementationClass, getName, getPart, getWires, getWSDLImports, getWSDLImports, setImplementationClass, setName
 
Methods inherited from interface org.apache.tuscany.model.assembly.Implementation
getComponentType, setComponentType
 
Methods inherited from interface org.apache.tuscany.model.assembly.Extensible
getExtensibilityAttributes, getExtensibilityElements
 
Methods inherited from interface org.apache.tuscany.model.assembly.AssemblyObject
accept, freeze, initialize
 

Method Detail

getModuleFragments

List<ModuleFragment> getModuleFragments()
Returns a list of assembly fragments that combine to form a single module.

Returns:
a list of assembly fragments that combine to form a single module

getModuleFragment

ModuleFragment getModuleFragment(String name)
Returns the specified assembly fragment.

Parameters:
name - the name of the fragment
Returns:
the fragment with the specified name, or null if there is no fragment with that name

Tuscany Assembly Model

-