2016/05/28 - Apache Tuscany has been retired.
For more information, please explore the Attic.
org.apache.tuscany.sca.assembly.impl
Class ComponentServiceImpl
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.ComponentServiceImpl
- All Implemented Interfaces:
- java.lang.Cloneable, AbstractContract, AbstractService, Base, ComponentService, Contract, Extensible, OperationsConfigurator, Service, IntentAttachPoint, PolicySetAttachPoint
- Direct Known Subclasses:
- RuntimeComponentServiceImpl
public class ComponentServiceImpl
- extends ServiceImpl
- implements ComponentService, java.lang.Cloneable
Represents a component 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 |
ComponentServiceImpl
protected ComponentServiceImpl()
- Constructs a new component 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
getService
public Service getService()
- Description copied from interface:
ComponentService
- Returns the service defined by the implementation for this service.
- Specified by:
getService
in interface ComponentService
- Returns:
setService
public void setService(Service service)
- Description copied from interface:
ComponentService
- Sets the service defined by the implementation for this service.
- Specified by:
setService
in interface ComponentService
promotedAs
public java.util.List<CompositeService> promotedAs()
getCallbackReference
public ComponentReference getCallbackReference()
- Description copied from interface:
ComponentService
- Returns the callback reference created internally as a source endpoint
for callbacks from this service.
- Specified by:
getCallbackReference
in interface ComponentService
- Returns:
- the callback reference
setCallbackReference
public void setCallbackReference(ComponentReference callbackReference)
- Description copied from interface:
ComponentService
- Sets the callback reference created internally as a source endpoint
for callbacks from this service.
- Specified by:
setCallbackReference
in interface ComponentService
- Parameters:
callbackReference
- the callback reference