org.apache.tuscany.sca.runtime
Interface RuntimeComponentService

All Superinterfaces:
AbstractContract, AbstractService, Base, ComponentService, Contract, IntentAttachPoint, PolicySetAttachPoint, Service

public interface RuntimeComponentService
extends ComponentService

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

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

Method Summary
 ServiceBindingProvider getBindingProvider(Binding binding)
          Returns the service binding provider associated with this component service and the given binding.
 Invoker getCallbackInvoker(Binding binding, Operation operation)
          Get the callback invoker for the given binding and operation
 java.util.List<RuntimeWire> getCallbackWires()
          Get the callback wires assoicated with this service
 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 service
 void setBindingProvider(Binding binding, ServiceBindingProvider bindingProvider)
          Sets the service binding provider associated with this component service and the given binding.
 
Methods inherited from interface org.apache.tuscany.sca.assembly.ComponentService
clone, getService, setService
 
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 service

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

getCallbackWires

java.util.List<RuntimeWire> getCallbackWires()
Get the callback wires assoicated with this service

Returns:
The list of runtime callback wires

getBindingProvider

ServiceBindingProvider getBindingProvider(Binding binding)
Returns the service binding provider associated with this component service and the given binding.

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

setBindingProvider

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

Parameters:
binding - The assembly model binding
bindingProvider - The runtime service 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

getCallbackInvoker

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

Parameters:
binding - The assembly model binding
operation - The assembly model operation
Returns:
The runtime callback invoker