Resolving Java delegates in OSGi environments

I would like to create a custom resolver for delegates. If the BPMN model references a delegate specific delegate by its name I would like to look this up by myself and execute custom code for this request. Does anybody know, how to achieve this?

Are you aware that there is an OSGi extension for Camunda? You can find it here: https://github.com/camunda/camunda-bpm-platform-osgi

I think it has some features in the delegate and EL resolution area, but I’m not familiar with them.