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.
Methods inherited from interface org.apache.tuscany.model.assembly.Composite |
getComponents, getConfiguredService, getEntryPoints, getExternalServices, getImplementationClass, getName, getPart, getWires, getWSDLImports, getWSDLImports, setImplementationClass, setName |
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
-