Tuscany Assembly Model

org.apache.tuscany.model.assembly
Interface Composite

All Superinterfaces:
AssemblyObject, Extensible, Implementation
All Known Subinterfaces:
Module, ModuleFragment, Subsystem
All Known Implementing Classes:
CompositeImpl, ModuleFragmentImpl, ModuleImpl, SubsystemImpl

public interface Composite
extends Implementation

A model object that describes a container for parts.


Method Summary
 java.util.List<Component> getComponents()
          Returns all components contained in this composite.
 ConfiguredService getConfiguredService(ServiceURI address)
          Returns the configured service at the given address.
 java.util.List<EntryPoint> getEntryPoints()
          Returns all entry points contained in this composite.
 java.util.List<ExternalService> getExternalServices()
          Returns all external services contained in this composite.
 java.lang.Class<?> getImplementationClass()
          Returns the implementation class.
 java.lang.String getName()
          Returns the name of the composite.
 Part getPart(java.lang.String name)
          Returns the named part.
 java.util.List<Wire> getWires()
          Returns the wires contained in this composite.
 java.util.List<ImportWSDL> getWSDLImports()
          Returns the WSDL imports declared in this composite.
 java.util.List<ImportWSDL> getWSDLImports(java.lang.String namespace)
          Returns the WSDL imports for the given namespace.
 void setImplementationClass(java.lang.Class<?> value)
          Sets the implementation class.
 void setName(java.lang.String name)
          Sets the name of the composite.
 
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

getName

java.lang.String getName()
Returns the name of the composite.

Returns:
the name of the composite

setName

void setName(java.lang.String name)
Sets the name of the composite.

Parameters:
name - the name of the composite

getPart

Part getPart(java.lang.String name)
Returns the named part.

Parameters:
name -

getEntryPoints

java.util.List<EntryPoint> getEntryPoints()
Returns all entry points contained in this composite.

Returns:
a list of all EntryPoint model objects contained in this composite

getComponents

java.util.List<Component> getComponents()
Returns all components contained in this composite.

Returns:
a list of all Component model objects contained in this composite

getExternalServices

java.util.List<ExternalService> getExternalServices()
Returns all external services contained in this composite.

Returns:
a list of all ExternalService model objects contained in this composite

getWires

java.util.List<Wire> getWires()
Returns the wires contained in this composite.


getWSDLImports

java.util.List<ImportWSDL> getWSDLImports()
Returns the WSDL imports declared in this composite.


getWSDLImports

java.util.List<ImportWSDL> getWSDLImports(java.lang.String namespace)
Returns the WSDL imports for the given namespace.

Parameters:
namespace -

getConfiguredService

ConfiguredService getConfiguredService(ServiceURI address)
Returns the configured service at the given address.

Parameters:
address -

getImplementationClass

java.lang.Class<?> getImplementationClass()
Returns the implementation class.


setImplementationClass

void setImplementationClass(java.lang.Class<?> value)
Sets the implementation class.


Tuscany Assembly Model

-