Class BasicComponentBuilder

java.lang.Object
de.uka.ipd.sdq.pcm.transformations.builder.abstractbuilder.AbstractComponentBuilder
de.uka.ipd.sdq.pcm.transformations.builder.abstractbuilder.BasicComponentBuilder
All Implemented Interfaces:
IBuilder, IComponentBuilder
Direct Known Subclasses:
BasicMiddlewareComponentBuilder, LocalCommunicationComponentBuilder, NetworkLoadingComponentBuilder

public abstract class BasicComponentBuilder extends AbstractComponentBuilder
A builder for creating basic components and their assembly and allocation context. The component has a single provided and required interface which can be optionally the same (usefull if used with a delegating seff builder).
  • Field Details

    • seffBuilder

      protected DelegatorComponentSeffBuilder seffBuilder
    • container

      protected org.palladiosimulator.pcm.resourceenvironment.ResourceContainer container
  • Constructor Details

    • BasicComponentBuilder

      public BasicComponentBuilder(PCMAndCompletionModelHolder models, org.palladiosimulator.pcm.repository.OperationInterface interf, org.palladiosimulator.pcm.resourceenvironment.ResourceContainer container, String componentName)
    • BasicComponentBuilder

      public BasicComponentBuilder(PCMAndCompletionModelHolder models, org.palladiosimulator.pcm.repository.OperationInterface providedIf, org.palladiosimulator.pcm.repository.OperationInterface requiredIf, org.palladiosimulator.pcm.resourceenvironment.ResourceContainer container, String componentName)
  • Method Details

    • getSeffBuilder

      protected abstract ISeffBuilder getSeffBuilder()
    • build

      public void build()
      Description copied from interface: IBuilder
      Called to perform this builders actions
      Specified by:
      build in interface IBuilder
      Overrides:
      build in class AbstractComponentBuilder
    • createAllocationContext

      protected org.palladiosimulator.pcm.allocation.AllocationContext createAllocationContext(org.palladiosimulator.pcm.core.composition.AssemblyContext assembly)
    • getBasicComponent

      protected org.palladiosimulator.pcm.repository.BasicComponent getBasicComponent()
    • createComponent

      protected org.palladiosimulator.pcm.repository.RepositoryComponent createComponent(String componentName)
      Specified by:
      createComponent in class AbstractComponentBuilder