Class RepositoryWeaving
java.lang.Object
edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.adapter.RepositoryWeaving
- Direct Known Subclasses:
AssemblyLocationRepositoryWeaving
,DelegationLocationRepositoryWeaving
This class is responsible for weaving the repository view-type in the context
of the adapter transformation strategy.
-
Field Summary
Modifier and TypeFieldDescriptionprotected final edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.adapter.IAdapterWeaving
-
Constructor Summary
ConstructorDescriptionRepositoryWeaving
(edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.adapter.IAdapterWeaving parent) -
Method Summary
Modifier and TypeMethodDescriptionprotected 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.
-
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
- 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.
-