|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Composite
Represents a composite.
Method Summary | |
---|---|
java.lang.Object |
clone()
Returns a clone of the component type. |
java.util.List<Component> |
getComponents()
Returns a list of components contained in this composite. |
java.util.List<Composite> |
getIncludes()
Returns a list of composites included in this composite. |
javax.xml.namespace.QName |
getName()
Returns the name of the composite. |
java.util.List<Wire> |
getWires()
Returns a list of wires contained in this composite. |
boolean |
isAutowire()
Returns true if autowiring is enabled in the composite. |
boolean |
isLocal()
Returns true if all the components within the composite must run in the same process. |
void |
setAutowire(boolean autowire)
Sets whether autowiring is enabled in the composite. |
void |
setLocal(boolean local)
Sets whether all the components within the composite must run in the same process. |
void |
setName(javax.xml.namespace.QName name)
Sets the name of the composite. |
Methods inherited from interface org.apache.tuscany.sca.assembly.ComponentType |
---|
getConstrainingType, getProperties, getReferences, getServices, getURI, setConstrainingType, setURI |
Methods inherited from interface org.apache.tuscany.sca.assembly.Base |
---|
getExtensions, isUnresolved, setUnresolved |
Methods inherited from interface org.apache.tuscany.sca.policy.PolicySetAttachPoint |
---|
getPolicySets |
Methods inherited from interface org.apache.tuscany.sca.assembly.Visitable |
---|
accept |
Method Detail |
---|
javax.xml.namespace.QName getName()
void setName(javax.xml.namespace.QName name)
name
- the name of the compositejava.util.List<Composite> getIncludes()
java.util.List<Component> getComponents()
java.util.List<Wire> getWires()
boolean isLocal()
void setLocal(boolean local)
local
- whether all the components within the composite must run in
the same processboolean isAutowire()
void setAutowire(boolean autowire)
autowire
- whether autowiring is enabled in the compositejava.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |