org.apache.tuscany.sca.assembly
Interface ComponentReference
- All Superinterfaces:
- AbstractContract, AbstractReference, Base, Contract, IntentAttachPoint, PolicySetAttachPoint, Reference
- All Known Subinterfaces:
- RuntimeComponentReference
public interface ComponentReference
- extends Reference
An instance of a reference associated with a particular component.
- Version:
- $Rev: 538463 $ $Date: 2007-05-16 08:55:58 +0100 (Wed, 16 May 2007) $
Method Summary |
java.lang.Object |
clone()
Clone the component reference. |
Reference |
getReference()
Returns the reference defined by the implementation for this reference. |
boolean |
isAutowire()
Returns true if the reference should be autowired. |
void |
setAutowire(boolean autowire)
Sets whether the reference should be autowired. |
void |
setReference(Reference reference)
Sets the reference defined by the implementation for this reference. |
getReference
Reference getReference()
- Returns the reference defined by the implementation for this reference.
- Returns:
setReference
void setReference(Reference reference)
- Sets the reference defined by the implementation for this reference.
- Parameters:
reference
-
isAutowire
boolean isAutowire()
- Returns true if the reference should be autowired.
- Returns:
- whether the reference should be autowired.
setAutowire
void setAutowire(boolean autowire)
- Sets whether the reference should be autowired.
- Parameters:
autowire
- whether the reference should be autowired
clone
java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Clone the component reference.
- Specified by:
clone
in interface Reference
- Returns:
- a clone of the component reference
- Throws:
java.lang.CloneNotSupportedException