org.apache.tuscany.sca.assembly
Interface CompositeService

All Superinterfaces:
AbstractContract, AbstractService, Base, java.lang.Cloneable, Contract, Extensible, IntentAttachPoint, OperationsConfigurator, PolicySetAttachPoint, Service
All Known Implementing Classes:
CompositeServiceImpl

public interface CompositeService
extends Service

Represents a composite service.


Method Summary
 Component getPromotedComponent()
          Returns the promoted component.
 ComponentService getPromotedService()
          Returns the promoted component service .
 void setPromotedComponent(Component promotedComponent)
          Sets the promoted component
 void setPromotedService(ComponentService promotedService)
          Sets the promoted component service
 
Methods inherited from interface org.apache.tuscany.sca.assembly.Contract
clone, getBinding, getBindings, getCallback, getCallbackBinding, getInterfaceContract, setCallback
 
Methods inherited from interface org.apache.tuscany.sca.assembly.AbstractContract
getInterfaceContract, getName, isCallback, setInterfaceContract, setIsCallback, setName
 
Methods inherited from interface org.apache.tuscany.sca.assembly.Base
isUnresolved, setUnresolved
 
Methods inherited from interface org.apache.tuscany.sca.assembly.Extensible
getExtensions
 
Methods inherited from interface org.apache.tuscany.sca.assembly.OperationsConfigurator
getConfiguredOperations
 
Methods inherited from interface org.apache.tuscany.sca.policy.PolicySetAttachPoint
getApplicablePolicySets, getPolicySets
 
Methods inherited from interface org.apache.tuscany.sca.policy.IntentAttachPoint
getRequiredIntents, getType, setType
 

Method Detail

getPromotedComponent

Component getPromotedComponent()
Returns the promoted component.

Returns:
the promoted component.

setPromotedComponent

void setPromotedComponent(Component promotedComponent)
Sets the promoted component

Parameters:
promotedComponent - the promoted component.

getPromotedService

ComponentService getPromotedService()
Returns the promoted component service .

Returns:
the promoted component service.

setPromotedService

void setPromotedService(ComponentService promotedService)
Sets the promoted component service

Parameters:
promotedService - the promoted component service.