Class AssemblyLocationSeffWeaving
java.lang.Object
edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.adapter.ServiceEffectSpecificationWeaving
edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.adapter.AssemblyLocationSeffWeaving
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
ConstructorDescriptionAssemblyLocationSeffWeaving
(edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.adapter.IAdapterWeaving parent) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.palladiosimulator.pcm.repository.BasicComponent
Retrieves the required component which requires several services the adapter provides now.protected org.palladiosimulator.pcm.repository.BasicComponent
Retrieves the provided component which provides several services the adapter requires now.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
-
Constructor Details
-
AssemblyLocationSeffWeaving
public AssemblyLocationSeffWeaving(edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.adapter.IAdapterWeaving parent)
-
-
Method Details
-
getCallingComponent
protected org.palladiosimulator.pcm.repository.BasicComponent getCallingComponent()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.
- 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)
-