org.apache.tuscany.sca.runtime
Interface RuntimeComponentReference

All Superinterfaces:
AbstractContract, AbstractReference, Base, ComponentReference, Contract, IntentAttachPoint, PolicySetAttachPoint, Reference

public interface RuntimeComponentReference
extends ComponentReference

The runtime component reference. Provides the bridge between the assembly model representation of a component reference and its runtime realization

Version:
$Rev: 539359 $ $Date: 2007-05-18 11:06:21 +0100 (Fri, 18 May 2007) $

Method Summary
 ReferenceBindingProvider getBindingProvider(Binding binding)
          Returns the reference binding provider associated with this component reference and the given binding.
 Invoker getInvoker(Binding binding, Operation operation)
          Get the invoker for the given binding and operation
 RuntimeWire getRuntimeWire(Binding binding)
          Get the runtime wire for the given binding
 java.util.List<RuntimeWire> getRuntimeWires()
          Get a list of runtime wires to the reference
 void setBindingProvider(Binding binding, ReferenceBindingProvider bindingProvider)
          Sets the reference binding provider associated with this component reference and the given binding.
 
Methods inherited from interface org.apache.tuscany.sca.assembly.ComponentReference
clone, getReference, isAutowire, setAutowire, setReference
 
Methods inherited from interface org.apache.tuscany.sca.assembly.Reference
getTargets, isWiredByImpl, setWiredByImpl
 
Methods inherited from interface org.apache.tuscany.sca.assembly.AbstractReference
getMultiplicity, setMultiplicity
 
Methods inherited from interface org.apache.tuscany.sca.assembly.AbstractContract
getInterfaceContract, getName, setInterfaceContract, setName
 
Methods inherited from interface org.apache.tuscany.sca.assembly.Base
getExtensions, isUnresolved, setUnresolved
 
Methods inherited from interface org.apache.tuscany.sca.policy.IntentAttachPoint
getRequiredIntents
 
Methods inherited from interface org.apache.tuscany.sca.assembly.Contract
getBinding, getBindings, getCallback, setCallback
 
Methods inherited from interface org.apache.tuscany.sca.assembly.AbstractContract
getInterfaceContract, getName, setInterfaceContract, setName
 
Methods inherited from interface org.apache.tuscany.sca.assembly.Base
getExtensions, isUnresolved, setUnresolved
 
Methods inherited from interface org.apache.tuscany.sca.policy.IntentAttachPoint
getRequiredIntents
 
Methods inherited from interface org.apache.tuscany.sca.policy.PolicySetAttachPoint
getPolicySets
 
Methods inherited from interface org.apache.tuscany.sca.policy.IntentAttachPoint
getRequiredIntents
 

Method Detail

getRuntimeWires

java.util.List<RuntimeWire> getRuntimeWires()
Get a list of runtime wires to the reference

Returns:
The list of wires

getRuntimeWire

RuntimeWire getRuntimeWire(Binding binding)
Get the runtime wire for the given binding

Parameters:
binding - The assembly model binding
Returns:
The runtime wire

getBindingProvider

ReferenceBindingProvider getBindingProvider(Binding binding)
Returns the reference binding provider associated with this component reference and the given binding.

Parameters:
binding - The assembly model binding
Returns:
The runtime reference binding provider

setBindingProvider

void setBindingProvider(Binding binding,
                        ReferenceBindingProvider bindingProvider)
Sets the reference binding provider associated with this component reference and the given binding.

Parameters:
binding - The assembly model binding
bindingProvider - The runtime reference binding provider

getInvoker

Invoker getInvoker(Binding binding,
                   Operation operation)
Get the invoker for the given binding and operation

Parameters:
binding - The assembly model binding
operation - The assembly model operation
Returns:
The runtime Invoker