Class DelegationLocationSeffWeaving
- java.lang.Object
-
- edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.adapter.ServiceEffectSpecificationWeaving
-
- edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.adapter.DelegationLocationSeffWeaving
-
public class DelegationLocationSeffWeaving extends ServiceEffectSpecificationWeaving
This class returns informations for the SEFF depending on the connection of the components the adapter is inserted in between.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.adapter.ServiceEffectSpecificationWeaving
ServiceEffectSpecificationWeaving.ExternalCallInfo
-
-
Field Summary
-
Fields inherited from class edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.adapter.ServiceEffectSpecificationWeaving
parent, weavingLocation
-
-
Constructor Summary
Constructors Constructor Description DelegationLocationSeffWeaving(edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.adapter.IAdapterWeaving parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.palladiosimulator.pcm.repository.BasicComponent
getCalledComponent()
Retrieves the required component which requires several services the adapter provides now.protected org.palladiosimulator.pcm.repository.BasicComponent
getCallingComponent()
Retrieves the provided component which provides several services the adapter requires now.protected ServiceEffectSpecificationWeaving.ExternalCallInfo
getExternalCallInfoFrom(org.palladiosimulator.pcm.seff.ServiceEffectSpecification seffToTransform)
Retrieves the external call informations for a given SEFF which contains the service, required role and the input and output parameters.-
Methods inherited from class edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.adapter.ServiceEffectSpecificationWeaving
getInputVariableUsageIfServiceIsCalled, getRequiredRoleOfAdapterBy, getReturnVariableUsageIfServiceIsCalled, getSetVariableActions, weave
-
-
-
-
Method Detail
-
getCallingComponent
protected org.palladiosimulator.pcm.repository.BasicComponent getCallingComponent() throws FCCWeaverException
Description copied from class:ServiceEffectSpecificationWeaving
Retrieves the provided component which provides several services the adapter requires now. Based on the connection of the components the adapter is inserted in between the called component needs to be retrieved differently.- Specified by:
getCallingComponent
in classServiceEffectSpecificationWeaving
- Returns:
- The provided component which is called by the adapter and was required by the requiring component in the first place.
- Throws:
FCCWeaverException
- See Also:
AdapterServiceEffectSpecificationWeaving#getCallingComponent()
-
getCalledComponent
protected org.palladiosimulator.pcm.repository.BasicComponent getCalledComponent()
Description copied from class:ServiceEffectSpecificationWeaving
Retrieves the required component which requires several services the adapter provides now. Based on the connection of the components the adapter is inserted in between the calling component needs to be retrieved differently.- Specified by:
getCalledComponent
in classServiceEffectSpecificationWeaving
- Returns:
- The required component which is calling several services it requires.
- See Also:
AdapterServiceEffectSpecificationWeaving#getCalledComponent()
-
getExternalCallInfoFrom
protected ServiceEffectSpecificationWeaving.ExternalCallInfo getExternalCallInfoFrom(org.palladiosimulator.pcm.seff.ServiceEffectSpecification seffToTransform) throws FCCWeaverException
Description copied from class:ServiceEffectSpecificationWeaving
Retrieves the external call informations for a given SEFF which contains the service, required role and the input and output parameters.- Specified by:
getExternalCallInfoFrom
in classServiceEffectSpecificationWeaving
- Parameters:
seffToTransform
- - The SEFF from which the informations are extracted.- Returns:
- the external call informations.
- Throws:
FCCWeaverException
- See Also:
AdapterServiceEffectSpecificationWeaving#getExternalCallInfoFrom(ServiceEffectSpecification)
-
-