2016/05/28 - Apache Tuscany has been retired.
For more information, please explore the Attic.
org.apache.tuscany.sca.assembly.impl
Class CompositeServiceImpl
java.lang.Object
org.apache.tuscany.sca.assembly.impl.BaseImpl
org.apache.tuscany.sca.assembly.impl.ExtensibleImpl
org.apache.tuscany.sca.assembly.impl.ContractImpl
org.apache.tuscany.sca.assembly.impl.AbstractServiceImpl
org.apache.tuscany.sca.assembly.impl.ServiceImpl
org.apache.tuscany.sca.assembly.impl.CompositeServiceImpl
- All Implemented Interfaces:
- java.lang.Cloneable, AbstractContract, AbstractService, Base, CompositeService, Contract, Extensible, OperationsConfigurator, Service, IntentAttachPoint, PolicySetAttachPoint
public class CompositeServiceImpl
- extends ServiceImpl
- implements CompositeService, java.lang.Cloneable
Represents a composite service
Methods inherited from class org.apache.tuscany.sca.assembly.impl.ContractImpl |
getConfiguredOperations, getInterfaceContract, getName, getRequiredIntents, getType, isCallback, setConfiguredOperations, setInterfaceContract, setIsCallback, setName, setRequiredIntents, setType |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompositeServiceImpl
protected CompositeServiceImpl()
- Constructs a new composite service.
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Description copied from interface:
Contract
- Returns a clone of the contract.
- Specified by:
clone
in interface Contract
- Overrides:
clone
in class ServiceImpl
- Returns:
- a clone of the reference
- Throws:
java.lang.CloneNotSupportedException
getPromotedService
public ComponentService getPromotedService()
- Description copied from interface:
CompositeService
- Returns the promoted component service .
- Specified by:
getPromotedService
in interface CompositeService
- Returns:
- the promoted component service.
setPromotedService
public void setPromotedService(ComponentService promotedService)
- Description copied from interface:
CompositeService
- Sets the promoted component service
- Specified by:
setPromotedService
in interface CompositeService
- Parameters:
promotedService
- the promoted component service.
getPromotedComponent
public Component getPromotedComponent()
- Description copied from interface:
CompositeService
- Returns the promoted component.
- Specified by:
getPromotedComponent
in interface CompositeService
- Returns:
- the promoted component.
setPromotedComponent
public void setPromotedComponent(Component promotedComponent)
- Description copied from interface:
CompositeService
- Sets the promoted component
- Specified by:
setPromotedComponent
in interface CompositeService
- Parameters:
promotedComponent
- the promoted component.