|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tuscany.sca.assembly.impl.BaseImpl
org.apache.tuscany.sca.assembly.impl.ExtensibleImpl
org.apache.tuscany.sca.assembly.impl.ComponentTypeImpl
org.apache.tuscany.sca.assembly.impl.ImplementationImpl
org.apache.tuscany.sca.assembly.impl.CompositeImpl
public class CompositeImpl
Implementation of a Composite.
| Constructor Summary | |
|---|---|
protected |
CompositeImpl()
Constructs a new composite. |
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Returns a clone of the component type. |
boolean |
equals(java.lang.Object obj)
|
java.lang.Boolean |
getAutowire()
Return the Boolean value of autowire |
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. |
int |
hashCode()
|
boolean |
isAutowire()
|
boolean |
isLocal()
Returns true if all the components within the composite must run in the same process. |
void |
setAutowire(java.lang.Boolean autowire)
Sets whether component references should be autowired. |
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. |
java.lang.String |
toString()
|
| Methods inherited from class org.apache.tuscany.sca.assembly.impl.ImplementationImpl |
|---|
getApplicablePolicySets, getConfiguredOperations, getPolicySets, getRequiredIntents, getType, setType |
| Methods inherited from class org.apache.tuscany.sca.assembly.impl.ComponentTypeImpl |
|---|
getConstrainingType, getProperties, getReferences, getServices, getURI, setConstrainingType, setURI |
| Methods inherited from class org.apache.tuscany.sca.assembly.impl.ExtensibleImpl |
|---|
getExtensions |
| Methods inherited from class org.apache.tuscany.sca.assembly.impl.BaseImpl |
|---|
isUnresolved, setUnresolved |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| 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 |
|---|
isUnresolved, setUnresolved |
| Methods inherited from interface org.apache.tuscany.sca.assembly.Extensible |
|---|
getExtensions |
| Methods inherited from interface org.apache.tuscany.sca.policy.PolicySetAttachPoint |
|---|
getApplicablePolicySets, getPolicySets |
| Methods inherited from interface org.apache.tuscany.sca.policy.IntentAttachPoint |
|---|
getRequiredIntents, getType, setType |
| Constructor Detail |
|---|
protected CompositeImpl()
| Method Detail |
|---|
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
Composite
clone in interface Compositeclone in class ComponentTypeImpljava.lang.CloneNotSupportedExceptionpublic java.util.List<Component> getComponents()
Composite
getComponents in interface Compositepublic java.util.List<Composite> getIncludes()
Composite
getIncludes in interface Compositepublic javax.xml.namespace.QName getName()
Composite
getName in interface Compositepublic java.util.List<Wire> getWires()
Composite
getWires in interface Compositepublic boolean isLocal()
Composite
isLocal in interface Compositepublic void setLocal(boolean local)
Composite
setLocal in interface Compositelocal - whether all the components within the composite must run in
the same processpublic boolean isAutowire()
public void setAutowire(java.lang.Boolean autowire)
Composite
setAutowire in interface Compositeautowire - whether component references should be autowiredpublic java.lang.Boolean getAutowire()
Composite
getAutowire in interface Compositepublic void setName(javax.xml.namespace.QName name)
Composite
setName in interface Compositename - the name of the compositepublic int hashCode()
hashCode in class ComponentTypeImplpublic boolean equals(java.lang.Object obj)
equals in class ComponentTypeImplpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||