Setting a class-based execution listener in element templates


recently I tried to create element templates for our most common use cases to speed up development of new workflows. Following the documentation this was pretty straight forward for most of my use cases. The only remaining ones were elements which attempt to set an execution listener automatically. Sadly, I was not able to figure out how to do this for class-based execution listener. I only found the option to configure the value as script as well as the scriptFormat.

What I need:

<camunda:executionListener class="" event="start" />

What I was able to achieve:

<camunda:executionListener event="start">
    <camunda:script scriptFormat="JavaScript">const someVariable;</camunda:script>

I appreciate any idea on this, because I would prefer to not refactor my execution listeners.

Kind regards