public final class TransactionalDeclarationEnricher extends Object implements WalkingDeclarationEnricher
DeclarationEnricher which enrich transactional component models adding required transactional
parameters to the correspondent model.
If the given ComponentModel already contains the parameter, this one will be enriched to ensure a cross components
transactional parameters UX.
WalkingDeclarationEnricher.DeclarationEnricherWalkDelegate| Constructor and Description |
|---|
TransactionalDeclarationEnricher() |
| Modifier and Type | Method and Description |
|---|---|
DeclarationEnricherPhase |
getExecutionPhase()
Specifies a
phase for the DeclarationEnricher to be executed. |
Optional<WalkingDeclarationEnricher.DeclarationEnricherWalkDelegate> |
getWalkDelegate(ExtensionLoadingContext extensionLoadingContext)
Optionally returns a
WalkingDeclarationEnricher.DeclarationEnricherWalkDelegate that contains the enrichment logic. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitenrichpublic DeclarationEnricherPhase getExecutionPhase()
DeclarationEnricherphase for the DeclarationEnricher to be executed.getExecutionPhase in interface DeclarationEnricherphase in which the DeclarationEnricher is going to be executedpublic Optional<WalkingDeclarationEnricher.DeclarationEnricherWalkDelegate> getWalkDelegate(ExtensionLoadingContext extensionLoadingContext)
WalkingDeclarationEnricherWalkingDeclarationEnricher.DeclarationEnricherWalkDelegate that contains the enrichment logic.
If Optional.empty() is returned, it means that this enricher does not apply to the given declaration and it should be
skipped
getWalkDelegate in interface WalkingDeclarationEnricherextensionLoadingContext - a ExtensionLoadingContextCopyright © 2023 MuleSoft, Inc.. All rights reserved.