|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Component
Represents a component. A component is a configured instance of an implementation.
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Returns a clone of the component. |
java.lang.Boolean |
getAutowire()
Return the Boolean value of autowire |
ConstrainingType |
getConstrainingType()
Returns a constraining type defining the shape of the component. |
Implementation |
getImplementation()
Returns the component implementation. |
java.lang.String |
getName()
Returns the name of the component. |
java.util.List<ComponentProperty> |
getProperties()
Returns a list of properties for the component. |
java.util.List<ComponentReference> |
getReferences()
Returns a list of references used by the component. |
java.util.List<ComponentService> |
getServices()
Returns a list of services exposed by the component. |
java.lang.String |
getURI()
Returns the URI of the component. |
void |
setAutowire(java.lang.Boolean autowire)
Sets whether component references should be autowired. |
void |
setConstrainingType(ConstrainingType constrainingType)
Sets a constraining type defining the shape of the component. |
void |
setImplementation(Implementation implementation)
Sets the component implementation |
void |
setName(java.lang.String name)
Sets the name of the component. |
void |
setURI(java.lang.String uri)
Sets the URI of the component. |
| 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 |
| Method Detail |
|---|
java.lang.String getURI()
void setURI(java.lang.String uri)
uri - the URI of the componentjava.lang.String getName()
void setName(java.lang.String name)
name - the name of the componentImplementation getImplementation()
void setImplementation(Implementation implementation)
implementation - the component implementationjava.util.List<ComponentReference> getReferences()
java.util.List<ComponentService> getServices()
java.util.List<ComponentProperty> getProperties()
ConstrainingType getConstrainingType()
void setConstrainingType(ConstrainingType constrainingType)
constrainingType - the constraining typejava.lang.Boolean getAutowire()
void setAutowire(java.lang.Boolean autowire)
autowire - whether component references should be autowired
java.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 | ||||||||