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. |
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