java.lang.Object
edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.adapter.RepositoryWeaving
Direct Known Subclasses:
AssemblyLocationRepositoryWeaving, DelegationLocationRepositoryWeaving

public abstract class RepositoryWeaving extends Object
This class is responsible for weaving the repository 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
    RepositoryWeaving(edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.adapter.IAdapterWeaving parent)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
    isNotAlreadyContainedInAdapter(org.palladiosimulator.pcm.repository.ProvidedRole providedRole)
     
    protected boolean
    isNotAlreadyContainedInAdapter(org.palladiosimulator.pcm.repository.RequiredRole requiredRole)
     
    void
    weave(WeavingInstruction weavingInstruction)
     
    protected abstract void
    weaveAdapterIntoRepository(org.palladiosimulator.pcm.core.composition.Connector weavingLocation)
    The implementer of this method realizes the integration of the adapter in the repository where each implementation considers different weaving locations regarding the connection of the components that are going to be modified.

    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

    • RepositoryWeaving

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

    • weave

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

      protected boolean isNotAlreadyContainedInAdapter(org.palladiosimulator.pcm.repository.RequiredRole requiredRole)
    • isNotAlreadyContainedInAdapter

      protected boolean isNotAlreadyContainedInAdapter(org.palladiosimulator.pcm.repository.ProvidedRole providedRole)
    • weaveAdapterIntoRepository

      protected abstract void weaveAdapterIntoRepository(org.palladiosimulator.pcm.core.composition.Connector weavingLocation)
      The implementer of this method realizes the integration of the adapter in the repository where each implementation considers different weaving locations regarding the connection of the components that are going to be modified.
      Parameters:
      weavingLocation - - Contains the weaving location informations.