|
Tuscany Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SystemAssemblyFactory
A factory for building system assembly model artifacts
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 |
Method Detail |
---|
SystemImplementation createSystemImplementation()
SystemModule createSystemModule()
SystemBinding createSystemBinding()
<T> Component createSystemComponent(String name, Class<T> service, Class<? extends T> impl, Scope scope)
name
- the name of the componentservice
- the service that the component providesimpl
- the component implementationscope
- the component's scope
EntryPoint createSystemEntryPoint(String entryPointName, Class<?> serviceContract, String targetName)
entryPointName
- the name of the entry pointserviceContract
- the service contract exposedtargetName
- the component to wire the entry point to
|
Tuscany Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |