org.apache.tuscany.sca.assembly
Interface ComponentService

All Superinterfaces:
AbstractContract, AbstractService, Base, Contract, IntentAttachPoint, PolicySetAttachPoint, Service
All Known Subinterfaces:
RuntimeComponentService

public interface ComponentService
extends Service

An addressable instance of a service associated with a particular component.

Version:
$Rev: 538463 $ $Date: 2007-05-16 08:55:58 +0100 (Wed, 16 May 2007) $

Method Summary
 java.lang.Object clone()
          Clone the component service.
 Service getService()
          Returns the service defined by the implementation for this service.
 void setService(Service service)
          Sets the service defined by the implementation for this service.
 
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

getService

Service getService()
Returns the service defined by the implementation for this service.

Returns:

setService

void setService(Service service)
Sets the service defined by the implementation for this service.

Parameters:
service -

clone

java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Clone the component service.

Specified by:
clone in interface Service
Returns:
a clone of the component service
Throws:
java.lang.CloneNotSupportedException