Skip to content

Conversation

@hhund
Copy link
Member

@hhund hhund commented Sep 1, 2025

  • Adds a get method to ProcessPluginApi for accessing the object of the plugin's ProcessPluginDefinition class created by the java service loader during plugin loading.
  • This addition simplifies access to the plugins name, version and release-date at runtime, specially if the ProcessPluginDefinition class extends dev.dsf.bpe.v2.AbstractProcessPluginDefinition to specify these values via maven property replacement.
  • BPMN Activity classes, created via an ActivityPrototypeBeanCreator, can now express dependencies to other spring beans via constructor arguments without the need for @Autowire annotations.
  • Adds Test to verify autowiring.

closes #346
closes #347

* Adds a get method to the ProcessPluginApi for accessing the object of
the plugins ProcessPluginDefinition class created by the java service
loader during plugin loading.
* This addition simplifies access to the plugins name, version and
release-date at runtime specially if the ProcessPluginDefinition class
extends dev.dsf.bpe.v2.AbstractProcessPluginDefinition to specify these
values via maven property replacement.
* BPMN Activity classes, created via an ActivityPrototypeBeanCreator,
can now express dependencies to other spring beans via constructor
arguments without the need for @autowire annotations.
* Adds Test to verify autowiring.
issue/346_347_ProcessPluginDefinition_Access_-_BPMN_Activity_Beans
@hhund hhund merged commit 9510f6b into develop_2 Sep 5, 2025
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Simplify Prototype Scoped Bean Definition for BPMN Activities Runtime Access to ProcessPluginDefinition via API

3 participants