java.lang.Object
edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.adapter.AssemblyWeaving
Direct Known Subclasses:
AssemblyLocationWeaving, DelegationLocationWeaving

public abstract class AssemblyWeaving extends Object
This class is responsible for weaving the assembly view-type in the context of the adapter transformation strategy.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.adapter.IAdapterWeaving
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    AssemblyWeaving(edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.adapter.IAdapterWeaving parent)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    addConnector(org.palladiosimulator.pcm.core.composition.Connector connectorToAdd)
     
    protected <T extends org.palladiosimulator.pcm.repository.Role>
    org.palladiosimulator.pcm.repository.Role
    getComplimentaryRoleOf(org.palladiosimulator.pcm.repository.Role role, List<T> complimentaryRoleSpace)
     
    protected List<org.palladiosimulator.pcm.repository.RequiredRole>
     
    void
    weave(WeavingInstruction weavingInstruction)
     
    abstract void
    weaveAdapterIntoSystem(org.palladiosimulator.pcm.core.composition.Connector weavingLocation)
    The implementer is responsible to realize the weaving of the adapter in the system depending on the connection of the components the adapter is inserted in between.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • parent

      protected final edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.adapter.IAdapterWeaving parent
  • Constructor Details

    • AssemblyWeaving

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

    • weave

      public void weave(WeavingInstruction weavingInstruction) throws FCCWeaverException
      Throws:
      FCCWeaverException
    • getComplimentaryRoleOf

      protected <T extends org.palladiosimulator.pcm.repository.Role> org.palladiosimulator.pcm.repository.Role getComplimentaryRoleOf(org.palladiosimulator.pcm.repository.Role role, List<T> complimentaryRoleSpace) throws FCCWeaverException
      Throws:
      FCCWeaverException
    • getRequiredRolesOfAdapter

      protected List<org.palladiosimulator.pcm.repository.RequiredRole> getRequiredRolesOfAdapter()
    • addConnector

      protected void addConnector(org.palladiosimulator.pcm.core.composition.Connector connectorToAdd)
    • weaveAdapterIntoSystem

      public abstract void weaveAdapterIntoSystem(org.palladiosimulator.pcm.core.composition.Connector weavingLocation) throws FCCWeaverException
      The implementer is responsible to realize the weaving of the adapter in the system depending on the connection of the components the adapter is inserted in between.
      Parameters:
      weavingLocation - - Contains the informations about the weaving location.
      Throws:
      ConcernWeavingException - - Will be thrown if an error occurs during weaving.
      FCCWeaverException