|
Tuscany Assembly Model | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AssemblyFactory
The Factory for the assembly model. Provides a create method for each non-abstract class of the model.
Method Summary | |
---|---|
ComponentType |
createComponentType()
Returns a new ComponentType. |
ConfiguredProperty |
createConfiguredProperty()
Returns a new ConfiguredProperty. |
ConfiguredReference |
createConfiguredReference()
Returns a new ConfiguredReference. |
ConfiguredReference |
createConfiguredReference(java.lang.String name,
java.lang.String... targets)
Helper method for creating a configured reference. |
ConfiguredService |
createConfiguredService()
Returns a new ConfiguredService. |
EntryPoint |
createEntryPoint()
Returns a new EntryPoint. |
EntryPoint |
createEntryPoint(java.lang.String entryPointName,
ConfiguredService configuredService,
Binding binding,
ConfiguredReference configuredReference)
Helper method for creating an EntryPoint wired to a single target. |
EntryPoint |
createEntryPoint(java.lang.String entryPointName,
ServiceContract serviceContract,
Binding binding,
java.lang.String targetName)
Helper method for creating an EntryPoint wired to a single target. |
ExternalService |
createExternalService()
Returns a new ExternalService. |
ImportWSDL |
createImportWSDL()
Returns a new ImportWSDL model object. |
ImportWSDL |
createImportWSDL(java.lang.String location,
java.lang.String namespace)
Returns a new ImportWSDL model object initialized with the supplied values. |
JavaServiceContract |
createJavaServiceContract()
Returns a new JavaServiceContract. |
Module |
createModule()
Returns a new Module. |
ModuleComponent |
createModuleComponent()
Returns a new ModuleComponent. |
ModuleFragment |
createModuleFragment()
Returns a new ModuleFragment. |
Property |
createProperty()
Returns a new Property. |
Property |
createProperty(java.lang.String name,
java.lang.Class<?> type)
Helper method for creating a simple Property. |
javax.xml.namespace.QName |
createQName(java.lang.String uri)
Create a qname from a URI |
Reference |
createReference()
Returns a new Reference. |
Reference |
createReference(java.lang.String name,
java.lang.Class<?> service)
Helper method for creating a reference. |
Reference |
createReference(java.lang.String name,
java.lang.Class<?> service,
Multiplicity multiplicity)
Helper method for creating a reference. |
Service |
createService()
Returns a new Service. |
ServiceURI |
createServiceURI(ModuleComponent moduleComponent,
Part part,
ConfiguredPort configuredPort)
Creates a new ServiceURI from a module component and configured port. |
ServiceURI |
createServiceURI(ModuleComponent moduleComponent,
java.lang.String serviceName)
Creates a new ServiceURI from a module component and a service name. |
ServiceURI |
createServiceURI(ModuleComponent moduleComponent,
java.lang.String partName,
java.lang.String serviceName)
|
ServiceURI |
createServiceURI(java.lang.String uri)
Create a new ServiceURI from the given uri string. |
AtomicComponent |
createSimpleComponent()
Returns a new SimpleComponent. |
Subsystem |
createSubsystem()
Returns a new Subsystem. |
Wire |
createWire()
Create a wire |
WSDLServiceContract |
createWSDLServiceContract()
Returns a new WSDLServiceContract. |
Method Detail |
---|
AtomicComponent createSimpleComponent()
ComponentType createComponentType()
EntryPoint createEntryPoint()
ExternalService createExternalService()
JavaServiceContract createJavaServiceContract()
Module createModule()
ModuleComponent createModuleComponent()
ModuleFragment createModuleFragment()
Reference createReference()
ConfiguredReference createConfiguredReference()
Service createService()
ConfiguredService createConfiguredService()
Subsystem createSubsystem()
Property createProperty()
ConfiguredProperty createConfiguredProperty()
WSDLServiceContract createWSDLServiceContract()
ServiceURI createServiceURI(java.lang.String uri)
uri
- the URI for the service
ServiceURI createServiceURI(ModuleComponent moduleComponent, java.lang.String serviceName)
moduleComponent
- the module component exposing the serviceserviceName
- the name of the service exposed by the module
ServiceURI createServiceURI(ModuleComponent moduleComponent, Part part, ConfiguredPort configuredPort)
moduleComponent
- the module component exposing the servicepart
- the part that is providing the serviceconfiguredPort
- the port on the part
ServiceURI createServiceURI(ModuleComponent moduleComponent, java.lang.String partName, java.lang.String serviceName)
javax.xml.namespace.QName createQName(java.lang.String uri)
uri
-
Wire createWire()
Reference createReference(java.lang.String name, java.lang.Class<?> service)
name
- the name of the referenceservice
- the Java type of the service
Reference createReference(java.lang.String name, java.lang.Class<?> service, Multiplicity multiplicity)
name
- the name of the referenceservice
- the Java type of the servicemultiplicity
- the multiplicity of the reference
ConfiguredReference createConfiguredReference(java.lang.String name, java.lang.String... targets)
name
- the name of the referencetargets
- the targets for the reference
EntryPoint createEntryPoint(java.lang.String entryPointName, ServiceContract serviceContract, Binding binding, java.lang.String targetName)
entryPointName
- the name of the entry pointserviceContract
- the service contract the EntryPoint should exposebinding
- the binding the EntryPoint should usetargetName
- the target the EntryPoint exposes
EntryPoint createEntryPoint(java.lang.String entryPointName, ConfiguredService configuredService, Binding binding, ConfiguredReference configuredReference)
entryPointName
- the name of the entry pointconfiguredService
- the configured service to exposebinding
- the binding the EntryPoint should useconfiguredReference
- a configured reference to the target
Property createProperty(java.lang.String name, java.lang.Class<?> type)
name
- the property nametype
- the Java type of the property
ImportWSDL createImportWSDL()
ImportWSDL createImportWSDL(java.lang.String location, java.lang.String namespace)
location
- the location where the WSDL definition can be foundnamespace
- the namespace URI for this import
|
Tuscany Assembly Model | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |