|
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.PartImpl
org.apache.tuscany.model.assembly.impl.ComponentImpl<I>
public abstract class ComponentImpl<I extends Implementation>
An implementation of Component.
Constructor Summary | |
---|---|
ComponentImpl()
|
Method Summary | |
---|---|
boolean |
accept(AssemblyVisitor visitor)
Accept a visitor |
void |
freeze()
Freeze this model object preventing any additional changes. |
List<ConfiguredProperty> |
getConfiguredProperties()
Returns a list of configured property values for this configured instance. |
ConfiguredProperty |
getConfiguredProperty(String name)
Returns the ConfiguredProperty value for the specified property. |
ConfiguredReference |
getConfiguredReference(String name)
Returns the ConfiguredReference value for the specified reference. |
List<ConfiguredReference> |
getConfiguredReferences()
Returns the configured references for the configured instance. |
ConfiguredService |
getConfiguredService(String name)
Returns the ConfiguredService value for the specified property. |
List<ConfiguredService> |
getConfiguredServices()
Returns the configured services for the configured instance. |
I |
getImplementation()
Returns the Implementation for this configured instance. |
void |
initialize(AssemblyContext modelContext)
Initialize this model object. |
void |
setImplementation(I value)
Sets the Implementation for this configured instance |
Methods inherited from class org.apache.tuscany.model.assembly.impl.PartImpl |
---|
getComposite, getContextFactory, getName, setComposite, setContextFactory, setName |
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.Part |
---|
getComposite, getName, setComposite, setName |
Methods inherited from interface org.apache.tuscany.model.assembly.Extensible |
---|
getExtensibilityAttributes, getExtensibilityElements |
Methods inherited from interface org.apache.tuscany.model.assembly.ContextFactoryHolder |
---|
getContextFactory, setContextFactory |
Constructor Detail |
---|
public ComponentImpl()
Method Detail |
---|
public I getImplementation()
Component
getImplementation
in interface Component<I extends Implementation>
public void setImplementation(I value)
Component
setImplementation
in interface Component<I extends Implementation>
value
- the Implementation for this configured instancepublic List<ConfiguredService> getConfiguredServices()
Component
getConfiguredServices
in interface Component<I extends Implementation>
public ConfiguredService getConfiguredService(String name)
Component
getConfiguredService
in interface Component<I extends Implementation>
name
- the name of the Property
public List<ConfiguredReference> getConfiguredReferences()
Component
getConfiguredReferences
in interface Component<I extends Implementation>
public ConfiguredReference getConfiguredReference(String name)
Component
getConfiguredReference
in interface Component<I extends Implementation>
name
- the name of the Property
public List<ConfiguredProperty> getConfiguredProperties()
Component
getConfiguredProperties
in interface Component<I extends Implementation>
public ConfiguredProperty getConfiguredProperty(String name)
Component
getConfiguredProperty
in interface Component<I extends Implementation>
name
- the name of the Property
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 usedpublic 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 |