|
||||||||||
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. |
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. |
boolean |
isAutowire()
Returns true if the component references should be autowired. |
void |
setAutowire(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 |
---|
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 |
---|
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 typeboolean isAutowire()
void setAutowire(boolean autowire)
autowire
- whether component references should be autowiredjava.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 |