org.apache.tuscany.sca.assembly
Interface Reference
- All Superinterfaces:
- AbstractContract, AbstractReference, Base, Contract, IntentAttachPoint, PolicySetAttachPoint
- All Known Subinterfaces:
- ComponentReference, CompositeReference, RuntimeComponentReference
public interface Reference
- extends AbstractReference, Contract
Represents a reference. References within an implementation represent links
to services that the implementation uses that must be provided by other
components.
- Version:
- $Rev: 537384 $ $Date: 2007-05-12 12:02:56 +0100 (Sat, 12 May 2007) $
Method Summary |
java.lang.Object |
clone()
Returns a clone of the reference. |
java.util.List<ComponentService> |
getTargets()
Returns the targets of this reference. |
boolean |
isWiredByImpl()
Returns a boolean value, "false" by default, which indicates that the
implementation wires this reference dynamically. |
void |
setWiredByImpl(boolean wiredByImpl)
Sets a boolean value, "false" by default, which indicates that the
implementation wires this reference dynamically. |
isWiredByImpl
boolean isWiredByImpl()
- Returns a boolean value, "false" by default, which indicates that the
implementation wires this reference dynamically.
- Returns:
- true if the implementation wires this reference dynamically
setWiredByImpl
void setWiredByImpl(boolean wiredByImpl)
- Sets a boolean value, "false" by default, which indicates that the
implementation wires this reference dynamically.
- Parameters:
wiredByImpl
- whether the implementation wires this reference
dynamically
getTargets
java.util.List<ComponentService> getTargets()
- Returns the targets of this reference.
- Returns:
- the targets of this reference.
clone
java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Returns a clone of the reference.
- Returns:
- a clone of the reference
- Throws:
java.lang.CloneNotSupportedException