Tuscany Assembly Model

org.apache.tuscany.model.assembly
Interface ConfiguredReference

All Superinterfaces:
AssemblyObject, ConfiguredPort<Reference>, ProxyFactoryHolder
All Known Implementing Classes:
ConfiguredReferenceImpl

public interface ConfiguredReference
extends ConfiguredPort<Reference>

A configured reference associated with a particular usage. Each configuredReference represents a configured version of an logical reference defined in the ComponentType. If the logical reference has a multiplicity greater than 1 (0..n or 1..n) then the configured reference many have multiple targets.


Method Summary
 List<ConfiguredService> getTargetConfiguredServices()
          Returns the list of configured services that are wired to this configured reference.
 List<String> getTargets()
          List of URIs for the targets of this reference.
 
Methods inherited from interface org.apache.tuscany.model.assembly.ConfiguredPort
getName, getPart, getPort, setName, setPart, setPort
 
Methods inherited from interface org.apache.tuscany.model.assembly.AssemblyObject
accept, freeze, initialize
 
Methods inherited from interface org.apache.tuscany.model.assembly.ProxyFactoryHolder
getProxyFactory, setProxyFactory
 

Method Detail

getTargets

List<String> getTargets()
List of URIs for the targets of this reference.

Returns:
the list of URIs for the targets of this reference

getTargetConfiguredServices

List<ConfiguredService> getTargetConfiguredServices()
Returns the list of configured services that are wired to this configured reference.

Returns:
the list of configured services that are wired to this configured reference

Tuscany Assembly Model

-