Class AdapterWeavingFactory


  • public class AdapterWeavingFactory
    extends Object
    The factory returns depending on the connection of the components the adapter is inserted in between the proper subweaving-class in the context of the adapter weaving strategy.
    • Constructor Detail

      • AdapterWeavingFactory

        public AdapterWeavingFactory()
    • Method Detail

      • getAdapterAssemblyWeaverBy

        public static Function<edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.adapter.IAdapterWeaving,​AssemblyWeaving> getAdapterAssemblyWeaverBy​(org.palladiosimulator.pcm.core.composition.Connector weavingLocation)
        Returns the proper subassemblyweaving-class based on the weaving location.
        Parameters:
        weavingLocation - - Contains the informations that are necessary to get the proper subweaving-class.
        Returns:
        the proper subweaving-class.
      • getAdapterRepositoryWeaverBy

        public static Function<edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.adapter.IAdapterWeaving,​RepositoryWeaving> getAdapterRepositoryWeaverBy​(org.palladiosimulator.pcm.core.composition.Connector weavingLocation)
        Returns the proper subrepositoryweaving-class based on the weaving location.
        Parameters:
        weavingLocation - - Contains the informations that are necessary to get the proper subweaving-class.
        Returns:
        the proper subweaving-class.
      • getAdapterSeffWeaverBy

        public static Function<edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.adapter.IAdapterWeaving,​ServiceEffectSpecificationWeaving> getAdapterSeffWeaverBy​(org.palladiosimulator.pcm.core.composition.Connector weavingLocation)
        Returns the proper subSEFFweaving-class based on the weaving location.
        Parameters:
        weavingLocation - - Contains the informations that are necessary to get the proper subweaving-class.
        Returns:
        the proper subweaving-class.