Class DelegatorComponentSeffBuilder

java.lang.Object
de.uka.ipd.sdq.pcm.transformations.builder.seff.AbstractSeffBuilder
de.uka.ipd.sdq.pcm.transformations.builder.seff.DelegatorComponentSeffBuilder
All Implemented Interfaces:
IBuilder, ISeffBuilder
Direct Known Subclasses:
MiddlewareComponentSeffBuilder

public class DelegatorComponentSeffBuilder extends AbstractSeffBuilder implements ISeffBuilder
A builder which builds identical SEFFs for all services contained in the passed interface. Useful for creating components which delegate their call to other components
  • Field Details

    • preActions

      protected ArrayList<AbstractActionDescriptor> preActions
    • postActions

      protected ArrayList<AbstractActionDescriptor> postActions
    • domainReqRole

      protected org.palladiosimulator.pcm.repository.OperationRequiredRole domainReqRole
    • domainProvRole

      protected org.palladiosimulator.pcm.repository.OperationProvidedRole domainProvRole
  • Constructor Details

    • DelegatorComponentSeffBuilder

      public DelegatorComponentSeffBuilder(org.palladiosimulator.pcm.repository.OperationProvidedRole domainProvRole, org.palladiosimulator.pcm.repository.OperationRequiredRole domainReqRole)
  • Method Details

    • appendPreAction

      public void appendPreAction(AbstractActionDescriptor signatureDependentDemand)
      Append an internal action in the chain of actions to be executed before the delegating call
      Parameters:
      signatureDependentDemand - A description of the internal action's demand
    • appendPostAction

      public void appendPostAction(AbstractActionDescriptor signatureDependentDemand)
      Append an internal action in the chain of actions to be executed after the delegating call
      Parameters:
      signatureDependentDemand - A description of the internal action's demand
    • build

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

      protected org.palladiosimulator.pcm.seff.ResourceDemandingSEFF buildSeff(org.palladiosimulator.pcm.repository.OperationSignature signature)
      Overrides:
      buildSeff in class AbstractSeffBuilder
    • getSeffs

      public List<org.palladiosimulator.pcm.seff.ResourceDemandingSEFF> getSeffs()
      Specified by:
      getSeffs in interface ISeffBuilder