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
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
Modifier and TypeFieldDescriptionprotected org.palladiosimulator.pcm.repository.OperationProvidedRole
protected org.palladiosimulator.pcm.repository.OperationRequiredRole
protected ArrayList<AbstractActionDescriptor>
protected ArrayList<AbstractActionDescriptor>
-
Constructor Summary
ConstructorDescriptionDelegatorComponentSeffBuilder
(org.palladiosimulator.pcm.repository.OperationProvidedRole domainProvRole, org.palladiosimulator.pcm.repository.OperationRequiredRole domainReqRole) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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 Details
-
preActions
-
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
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
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
- Specified by:
getSeffs
in interfaceISeffBuilder
-