Tuscany Core

org.apache.tuscany.core.system.assembly
Interface SystemAssemblyFactory

All Superinterfaces:
org.apache.tuscany.model.assembly.AssemblyFactory
All Known Implementing Classes:
SystemAssemblyFactoryImpl

public interface SystemAssemblyFactory
extends org.apache.tuscany.model.assembly.AssemblyFactory

A factory for building system assembly model artifacts

Version:
$Rev: 392146 $ $Date: 2006-04-06 21:11:28 -0400 (Thu, 06 Apr 2006) $

Method Summary
 SystemBinding createSystemBinding()
          Returns an assembly model artifact representing a system binding
<T> org.apache.tuscany.model.assembly.Component
createSystemComponent(java.lang.String name, java.lang.Class<T> service, java.lang.Class<? extends T> impl, org.apache.tuscany.model.assembly.Scope scope)
          Helper method for creating a typical system component.
 org.apache.tuscany.model.assembly.EntryPoint createSystemEntryPoint(java.lang.String entryPointName, java.lang.Class<?> serviceContract, java.lang.String targetName)
          Helper method for creating a system entry point wired to a component.
 SystemImplementation createSystemImplementation()
          Returns an assembly model artifact representing a system component implementation
 SystemModule createSystemModule()
          Returns an assembly model artifact representing a system module
 
Methods inherited from interface org.apache.tuscany.model.assembly.AssemblyFactory
createComponentType, createConfiguredProperty, createConfiguredReference, createConfiguredReference, createConfiguredService, createEntryPoint, createEntryPoint, createEntryPoint, createExternalService, createImportWSDL, createImportWSDL, createJavaServiceContract, createModule, createModuleComponent, createModuleFragment, createProperty, createProperty, createQName, createReference, createReference, createReference, createService, createServiceURI, createServiceURI, createServiceURI, createServiceURI, createSimpleComponent, createSubsystem, createWire, createWSDLServiceContract
 

Method Detail

createSystemImplementation

SystemImplementation createSystemImplementation()
Returns an assembly model artifact representing a system component implementation


createSystemModule

SystemModule createSystemModule()
Returns an assembly model artifact representing a system module


createSystemBinding

SystemBinding createSystemBinding()
Returns an assembly model artifact representing a system binding


createSystemComponent

<T> org.apache.tuscany.model.assembly.Component createSystemComponent(java.lang.String name,
                                                                      java.lang.Class<T> service,
                                                                      java.lang.Class<? extends T> impl,
                                                                      org.apache.tuscany.model.assembly.Scope scope)
Helper method for creating a typical system component.

Parameters:
name - the name of the component
service - the service that the component provides
impl - the component implementation
scope - the component's scope
Returns:
a Component model object with the appropriate system implementation

createSystemEntryPoint

org.apache.tuscany.model.assembly.EntryPoint createSystemEntryPoint(java.lang.String entryPointName,
                                                                    java.lang.Class<?> serviceContract,
                                                                    java.lang.String targetName)
Helper method for creating a system entry point wired to a component.

Parameters:
entryPointName - the name of the entry point
serviceContract - the service contract exposed
targetName - the component to wire the entry point to
Returns:
a EntryPoint model object that exposes the service contract and is wired to the named component

Tuscany Core

-