|
Tuscany Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.model.assembly.impl.AssemblyFactoryImpl
org.apache.tuscany.core.system.assembly.impl.SystemAssemblyFactoryImpl
public class SystemAssemblyFactoryImpl
The default implementation of the system assembly factory
Constructor Summary | |
---|---|
SystemAssemblyFactoryImpl()
|
Method Summary | ||
---|---|---|
SystemBinding |
createSystemBinding()
Returns an assembly model artifact representing a system binding |
|
|
createSystemComponent(String name,
Class<T> service,
Class<? extends T> impl,
Scope scope)
Helper method for creating a typical system component. |
|
EntryPoint |
createSystemEntryPoint(String entryPointName,
Class<?> serviceContract,
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 class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SystemAssemblyFactoryImpl()
Method Detail |
---|
public SystemImplementation createSystemImplementation()
SystemAssemblyFactory
createSystemImplementation
in interface SystemAssemblyFactory
public SystemBinding createSystemBinding()
SystemAssemblyFactory
createSystemBinding
in interface SystemAssemblyFactory
public <T> Component createSystemComponent(String name, Class<T> service, Class<? extends T> impl, Scope scope)
SystemAssemblyFactory
createSystemComponent
in interface SystemAssemblyFactory
name
- the name of the componentservice
- the service that the component providesimpl
- the component implementationscope
- the component's scope
public EntryPoint createSystemEntryPoint(String entryPointName, Class<?> serviceContract, String targetName)
SystemAssemblyFactory
createSystemEntryPoint
in interface SystemAssemblyFactory
entryPointName
- the name of the entry pointserviceContract
- the service contract exposedtargetName
- the component to wire the entry point to
public SystemModule createSystemModule()
SystemAssemblyFactory
createSystemModule
in interface SystemAssemblyFactory
|
Tuscany Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |