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 Summary
Fields Modifier and Type Field Description protected org.palladiosimulator.pcm.repository.OperationProvidedRole
domainProvRole
protected org.palladiosimulator.pcm.repository.OperationRequiredRole
domainReqRole
protected ArrayList<AbstractActionDescriptor>
postActions
protected ArrayList<AbstractActionDescriptor>
preActions
-
Constructor Summary
Constructors Constructor Description DelegatorComponentSeffBuilder(org.palladiosimulator.pcm.repository.OperationProvidedRole domainProvRole, org.palladiosimulator.pcm.repository.OperationRequiredRole domainReqRole)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendPostAction(AbstractActionDescriptor signatureDependentDemand)
Append an internal action in the chain of actions to be executed after the delegating callvoid
appendPreAction(AbstractActionDescriptor signatureDependentDemand)
Append an internal action in the chain of actions to be executed before the delegating callvoid
build()
Called to perform this builders actionsprotected org.palladiosimulator.pcm.seff.ResourceDemandingSEFF
buildSeff(org.palladiosimulator.pcm.repository.OperationSignature signature)
List<org.palladiosimulator.pcm.seff.ResourceDemandingSEFF>
getSeffs()
-
Methods inherited from class de.uka.ipd.sdq.pcm.transformations.builder.seff.AbstractSeffBuilder
createControlFlow
-
-
-
-
Field Detail
-
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
-
-
Method Detail
-
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
-
buildSeff
protected org.palladiosimulator.pcm.seff.ResourceDemandingSEFF buildSeff(org.palladiosimulator.pcm.repository.OperationSignature signature)
- Overrides:
buildSeff
in classAbstractSeffBuilder
-
getSeffs
public List<org.palladiosimulator.pcm.seff.ResourceDemandingSEFF> getSeffs()
- Specified by:
getSeffs
in interfaceISeffBuilder
-
-