|
Tuscany Assembly Model | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.model.assembly.impl.AssemblyObjectImpl
org.apache.tuscany.model.assembly.impl.ExtensibleImpl
org.apache.tuscany.model.assembly.impl.CompositeImpl
public abstract class CompositeImpl
An implementation of Composite.
Constructor Summary | |
---|---|
protected |
CompositeImpl()
|
Method Summary | |
---|---|
boolean |
accept(AssemblyVisitor visitor)
Accept a visitor |
void |
freeze()
Freeze this model object preventing any additional changes. |
java.util.List<Component> |
getComponents()
Returns all components contained in this composite. |
ComponentType |
getComponentType()
Returns the generic component type corresponding to this implementation. |
ConfiguredService |
getConfiguredService(ServiceURI address)
Returns the configured service at the given address. |
java.util.List<EntryPoint> |
getEntryPoints()
Returns all entry points contained in this composite. |
java.util.List<ExternalService> |
getExternalServices()
Returns all external services contained in this composite. |
java.lang.Class<?> |
getImplementationClass()
Returns the implementation class. |
java.lang.String |
getName()
Returns the name of the composite. |
Part |
getPart(java.lang.String name)
Returns the named part. |
java.util.List<Wire> |
getWires()
Returns the wires contained in this composite. |
java.util.List<ImportWSDL> |
getWSDLImports()
Returns the WSDL imports declared in this composite. |
java.util.List<ImportWSDL> |
getWSDLImports(java.lang.String namespace)
Returns the WSDL imports for the given namespace. |
void |
initialize(AssemblyContext modelContext)
Initialize this model object. |
void |
setComponentType(ComponentType componentType)
Sets the generic component type corresponding to this implementation. |
void |
setImplementationClass(java.lang.Class<?> clazz)
Sets the implementation class. |
void |
setName(java.lang.String newName)
Sets the name of the composite. |
protected void |
wire(AssemblyContext modelContext)
Wire the parts in this composite. |
Methods inherited from class org.apache.tuscany.model.assembly.impl.ExtensibleImpl |
---|
getExtensibilityAttributes, getExtensibilityElements |
Methods inherited from class org.apache.tuscany.model.assembly.impl.AssemblyObjectImpl |
---|
accept, checkInitialized, checkNotFrozen, freeze, initialize, isFrozen, isInitialized |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.tuscany.model.assembly.Extensible |
---|
getExtensibilityAttributes, getExtensibilityElements |
Constructor Detail |
---|
protected CompositeImpl()
Method Detail |
---|
public java.lang.String getName()
Composite
getName
in interface Composite
public void setName(java.lang.String newName)
Composite
setName
in interface Composite
newName
- the name of the compositepublic java.util.List<Component> getComponents()
Composite
getComponents
in interface Composite
public java.util.List<EntryPoint> getEntryPoints()
Composite
getEntryPoints
in interface Composite
public java.util.List<ExternalService> getExternalServices()
Composite
getExternalServices
in interface Composite
public Part getPart(java.lang.String name)
Composite
getPart
in interface Composite
public java.util.List<Wire> getWires()
Composite
getWires
in interface Composite
public java.util.List<ImportWSDL> getWSDLImports()
Composite
getWSDLImports
in interface Composite
public java.util.List<ImportWSDL> getWSDLImports(java.lang.String namespace)
Composite
getWSDLImports
in interface Composite
public ComponentType getComponentType()
Implementation
getComponentType
in interface Implementation
public void setComponentType(ComponentType componentType)
Implementation
setComponentType
in interface Implementation
componentType
- the generic component type corresponding to this implementationpublic ConfiguredService getConfiguredService(ServiceURI address)
Composite
getConfiguredService
in interface Composite
public void initialize(AssemblyContext modelContext)
AssemblyObject
initialize
in interface AssemblyObject
initialize
in class ExtensibleImpl
modelContext
- context providing access to the environment in which this model is being usedprotected void wire(AssemblyContext modelContext)
modelContext
- public java.lang.Class<?> getImplementationClass()
Composite
getImplementationClass
in interface Composite
public void setImplementationClass(java.lang.Class<?> clazz)
Composite
setImplementationClass
in interface Composite
public void freeze()
AssemblyObject
freeze
in interface AssemblyObject
freeze
in class ExtensibleImpl
public boolean accept(AssemblyVisitor visitor)
AssemblyObject
accept
in interface AssemblyObject
accept
in class ExtensibleImpl
visitor
- a visitor that is visiting the model
|
Tuscany Assembly Model | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |