|
Tuscany Assembly Model | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tuscany.model.assembly.impl.AssemblyFactoryImpl
public class AssemblyFactoryImpl
Default implementation of AssemblyFactory
Constructor Summary | |
---|---|
AssemblyFactoryImpl()
Constructor |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AssemblyFactoryImpl()
Method Detail |
---|
public AtomicComponent createSimpleComponent()
AssemblyFactory
createSimpleComponent
in interface AssemblyFactory
public ComponentType createComponentType()
AssemblyFactory
createComponentType
in interface AssemblyFactory
public EntryPoint createEntryPoint()
AssemblyFactory
createEntryPoint
in interface AssemblyFactory
public ExternalService createExternalService()
AssemblyFactory
createExternalService
in interface AssemblyFactory
public JavaServiceContract createJavaServiceContract()
AssemblyFactory
createJavaServiceContract
in interface AssemblyFactory
public Module createModule()
AssemblyFactory
createModule
in interface AssemblyFactory
public ModuleFragment createModuleFragment()
AssemblyFactory
createModuleFragment
in interface AssemblyFactory
public ModuleComponent createModuleComponent()
AssemblyFactory
createModuleComponent
in interface AssemblyFactory
public Property createProperty()
AssemblyFactory
createProperty
in interface AssemblyFactory
public ConfiguredProperty createConfiguredProperty()
AssemblyFactory
createConfiguredProperty
in interface AssemblyFactory
public Reference createReference()
AssemblyFactory
createReference
in interface AssemblyFactory
public ConfiguredReference createConfiguredReference()
AssemblyFactory
createConfiguredReference
in interface AssemblyFactory
public Service createService()
AssemblyFactory
createService
in interface AssemblyFactory
public ConfiguredService createConfiguredService()
AssemblyFactory
createConfiguredService
in interface AssemblyFactory
public Subsystem createSubsystem()
AssemblyFactory
createSubsystem
in interface AssemblyFactory
public WSDLServiceContract createWSDLServiceContract()
AssemblyFactory
createWSDLServiceContract
in interface AssemblyFactory
public ServiceURI createServiceURI(java.lang.String uri)
AssemblyFactory
createServiceURI
in interface AssemblyFactory
uri
- the URI for the service
public ServiceURI createServiceURI(ModuleComponent moduleComponent, java.lang.String serviceName)
AssemblyFactory
createServiceURI
in interface AssemblyFactory
moduleComponent
- the module component exposing the serviceserviceName
- the name of the service exposed by the module
public ServiceURI createServiceURI(ModuleComponent moduleComponent, Part part, ConfiguredPort configuredPort)
AssemblyFactory
createServiceURI
in interface AssemblyFactory
moduleComponent
- the module component exposing the servicepart
- the part that is providing the serviceconfiguredPort
- the port on the part
public ServiceURI createServiceURI(ModuleComponent moduleComponent, java.lang.String partName, java.lang.String serviceName)
createServiceURI
in interface AssemblyFactory
public javax.xml.namespace.QName createQName(java.lang.String uri)
AssemblyFactory
createQName
in interface AssemblyFactory
public Wire createWire()
AssemblyFactory
createWire
in interface AssemblyFactory
public Reference createReference(java.lang.String name, java.lang.Class<?> service)
AssemblyFactory
createReference
in interface AssemblyFactory
name
- the name of the referenceservice
- the Java type of the service
public Reference createReference(java.lang.String name, java.lang.Class<?> service, Multiplicity multiplicity)
AssemblyFactory
createReference
in interface AssemblyFactory
name
- the name of the referenceservice
- the Java type of the servicemultiplicity
- the multiplicity of the reference
public ConfiguredReference createConfiguredReference(java.lang.String name, java.lang.String... targets)
AssemblyFactory
createConfiguredReference
in interface AssemblyFactory
name
- the name of the referencetargets
- the targets for the reference
public EntryPoint createEntryPoint(java.lang.String entryPointName, ServiceContract serviceContract, Binding binding, java.lang.String targetName)
AssemblyFactory
createEntryPoint
in interface AssemblyFactory
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
public EntryPoint createEntryPoint(java.lang.String entryPointName, ConfiguredService configuredService, Binding binding, ConfiguredReference configuredReference)
AssemblyFactory
createEntryPoint
in interface AssemblyFactory
entryPointName
- the name of the entry pointconfiguredService
- the configured service to exposebinding
- the binding the EntryPoint should useconfiguredReference
- a configured reference to the target
public Property createProperty(java.lang.String name, java.lang.Class<?> type)
AssemblyFactory
createProperty
in interface AssemblyFactory
name
- the property nametype
- the Java type of the property
public ImportWSDL createImportWSDL()
AssemblyFactory
createImportWSDL
in interface AssemblyFactory
public ImportWSDL createImportWSDL(java.lang.String location, java.lang.String namespace)
AssemblyFactory
createImportWSDL
in interface AssemblyFactory
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 |