|
Apache Tuscany SCA Kernel Sub-Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.spi.model.ModelObject
org.apache.tuscany.spi.model.ComponentType<S,R,P>
org.apache.tuscany.spi.model.CompositeComponentType<S,R,P>
public class CompositeComponentType<S extends ServiceDefinition,R extends ReferenceDefinition,P extends Property<?>>
A specialization of component type for composite components.
Constructor Summary | |
---|---|
CompositeComponentType()
|
Method Summary | |
---|---|
void |
add(ComponentDefinition<? extends Implementation<?>> componentDefinition)
|
void |
add(Include include)
|
Map<String,ComponentDefinition<? extends Implementation<?>>> |
getComponents()
Get all components including the ones are from included composites |
Map<String,ComponentDefinition<? extends Implementation<?>>> |
getDeclaredComponents()
Get declared components in this composite type, included doesn't count |
Map<String,P> |
getDeclaredProperties()
Get declared properties in this composite type, included doesn't count |
Map<String,R> |
getDeclaredReferences()
Get declared references in this composite type, included doesn't count |
Map<String,S> |
getDeclaredServices()
Get declared services in this composite type, included doesn't count |
Map<String,Include> |
getIncludes()
|
String |
getName()
|
Map<String,P> |
getProperties()
Returns a live Map of properties that can be used to configure the implementation. |
Map<String,R> |
getReferences()
Returns a live Map of references to services consumed by the implementation. |
Map<String,S> |
getServices()
Returns a live Map of the services provided by the implementation. |
void |
setName(String name)
|
Methods inherited from class org.apache.tuscany.spi.model.ComponentType |
---|
add, add, add, getInitLevel, isEagerInit, setEagerInit, setInitLevel |
Methods inherited from class org.apache.tuscany.spi.model.ModelObject |
---|
getExtensions |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompositeComponentType()
Method Detail |
---|
public String getName()
public void setName(String name)
public Map<String,P> getProperties()
ComponentType
getProperties
in class ComponentType<S extends ServiceDefinition,R extends ReferenceDefinition,P extends Property<?>>
public Map<String,R> getReferences()
ComponentType
getReferences
in class ComponentType<S extends ServiceDefinition,R extends ReferenceDefinition,P extends Property<?>>
public Map<String,S> getServices()
ComponentType
getServices
in class ComponentType<S extends ServiceDefinition,R extends ReferenceDefinition,P extends Property<?>>
public Map<String,ComponentDefinition<? extends Implementation<?>>> getComponents()
public Map<String,P> getDeclaredProperties()
public Map<String,R> getDeclaredReferences()
public Map<String,S> getDeclaredServices()
public Map<String,ComponentDefinition<? extends Implementation<?>>> getDeclaredComponents()
public void add(ComponentDefinition<? extends Implementation<?>> componentDefinition)
public Map<String,Include> getIncludes()
public void add(Include include)
|
Apache Tuscany SCA Kernel Sub-Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |