Class RepositoryWeaving
- 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 edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.adapter.IAdapterWeaving
parent
-
Constructor Summary
Constructors Constructor Description RepositoryWeaving(edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.adapter.IAdapterWeaving parent)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods 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.
-
-
-
Method Detail
-
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.
-
-