Class AssemblyWeaving


  • public class AssemblyWeaving
    extends Object
    This class handles weaving of the PCM assembly/system model.
    • Field Detail

      • parent

        protected final edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.behaviour.IBehaviourWeaving parent
    • Constructor Detail

      • AssemblyWeaving

        public AssemblyWeaving​(edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.behaviour.IBehaviourWeaving parent)
    • Method Detail

      • weave

        public void weave​(IWeavingInstruction instruction)
        Applies the weaving operation on the assembly model. Firstly, all required fc components are determined, according to the fc meta-architecture. Secondly, realizing components for each fcc are chosen, according to selected solution/CV. Thirdly, in case of any required complementa, additional components are added. Fourth, the components are assembled into the system and connected by assembly connectors.
        Parameters:
        instruction - the weaving instruction to apply.
      • 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
      • getAssemblyContextInstantiating

        protected Predicate<org.palladiosimulator.pcm.core.composition.AssemblyContext> getAssemblyContextInstantiating​(org.palladiosimulator.pcm.repository.RepositoryComponent component)