cancel
Showing results for 
Search instead for 
Did you mean: 

Field Injection

diogosaad
Champ in-the-making
Champ in-the-making
Hello Guys,

I'm trying to inject a field to a Spring Bean but I can only make it work with ClassDelegate (not work with Expression or DelegateExpression).

I was looking at Activity source code and I found the setter method invokation on org.activiti.engine.impl.bpmn.helper.ClassDelegate.java
I could not find the "setter method invokation" for Expression/DelegateExpression.

What am I missing?
1 REPLY 1

trademak
Star Contributor
Star Contributor
Hi,

Right, the idea of an expression is to pass along the values in the expression method call.
For a delegateExpression it's just not supported.

Best regards,