Class AssemblyWeaving
- 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 edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.adapter.IAdapterWeaving
parent
-
Constructor Summary
Constructors Constructor Description AssemblyWeaving(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 void
addConnector(org.palladiosimulator.pcm.core.composition.Connector connectorToAdd)
protected <T extends org.palladiosimulator.pcm.repository.Role>
org.palladiosimulator.pcm.repository.RolegetComplimentaryRoleOf(org.palladiosimulator.pcm.repository.Role role, List<T> complimentaryRoleSpace)
protected List<org.palladiosimulator.pcm.repository.RequiredRole>
getRequiredRolesOfAdapter()
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.
-
-
-
Method Detail
-
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
-
-