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.
  • Constructor Details

    • DelegationLocationSeffWeaving

      public DelegationLocationSeffWeaving(edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.adapter.IAdapterWeaving parent)
  • Method Details

    • 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 class ServiceEffectSpecificationWeaving
      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 class ServiceEffectSpecificationWeaving
      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 class ServiceEffectSpecificationWeaving
      Parameters:
      seffToTransform - - The SEFF from which the informations are extracted.
      Returns:
      the external call informations.
      Throws:
      FCCWeaverException
      See Also:
      • AdapterServiceEffectSpecificationWeaving#getExternalCallInfoFrom(ServiceEffectSpecification)