org.apache.tuscany.sca.runtime
Interface RuntimeComponentReference
- All Superinterfaces:
- org.apache.tuscany.sca.assembly.AbstractContract, org.apache.tuscany.sca.assembly.AbstractReference, org.apache.tuscany.sca.assembly.Base, org.apache.tuscany.sca.assembly.ComponentReference, org.apache.tuscany.sca.assembly.Contract, org.apache.tuscany.sca.policy.IntentAttachPoint, org.apache.tuscany.sca.policy.PolicySetAttachPoint, org.apache.tuscany.sca.assembly.Reference
public interface RuntimeComponentReference
- extends org.apache.tuscany.sca.assembly.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(org.apache.tuscany.sca.assembly.Binding binding)
Returns the reference binding provider associated with this
component reference and the given binding. |
Invoker |
getInvoker(org.apache.tuscany.sca.assembly.Binding binding,
org.apache.tuscany.sca.interfacedef.Operation operation)
Get the invoker for the given binding and operation |
RuntimeWire |
getRuntimeWire(org.apache.tuscany.sca.assembly.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(org.apache.tuscany.sca.assembly.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 |
getRuntimeWires
java.util.List<RuntimeWire> getRuntimeWires()
- Get a list of runtime wires to the reference
- Returns:
- The list of wires
getRuntimeWire
RuntimeWire getRuntimeWire(org.apache.tuscany.sca.assembly.Binding binding)
- Get the runtime wire for the given binding
- Parameters:
binding
- The assembly model binding
- Returns:
- The runtime wire
getBindingProvider
ReferenceBindingProvider getBindingProvider(org.apache.tuscany.sca.assembly.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(org.apache.tuscany.sca.assembly.Binding binding,
ReferenceBindingProvider bindingProvider)
- Sets the reference binding provider associated with this
component reference and the given binding.
- Parameters:
binding
- The assembly model bindingbindingProvider
- The runtime reference binding provider
getInvoker
Invoker getInvoker(org.apache.tuscany.sca.assembly.Binding binding,
org.apache.tuscany.sca.interfacedef.Operation operation)
- Get the invoker for the given binding and operation
- Parameters:
binding
- The assembly model bindingoperation
- The assembly model operation
- Returns:
- The runtime Invoker
Apache Tuscany is an effort undergoing incubation at the Apache Software Foundation(ASF) and sponsored by the Apache WS PMC.