Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added fields injection for the delegate instance loaded when handling si... #131

Merged
merged 1 commit into from
Oct 1, 2013

Conversation

lukakama
Copy link
Contributor

The delegate instance used when handling a signal could be different than the one used when the execution has been handled (like a new instance), so there is the need to re-inject fields expressions otherwise they could be not accessible by the instance handling the signal

… signals

The delegate instance used when handling a signal could be different than the one used when the execution has been handled (like a new instance), so there is the need to re-inject fields expressions otherwise they could be not accessible by the instance handling the signal
@lukakama
Copy link
Contributor Author

Related Jira issue: http://jira.codehaus.org/browse/ACT-1788

@frederikheremans
Copy link
Contributor

Delegate instances are supposed to be stateless... All members are injected using Expression objects, which should be evaluated on a per-execution basis. So if all went well, the injection happened when the delegate was created and shouldn't be repeated ever.

Can you elaborate if I'm missing something here?

@lukakama
Copy link
Contributor Author

lukakama commented Oct 1, 2013

Just replied on the Jira issue: https://jira.codehaus.org/browse/ACT-1788

frederikheremans added a commit that referenced this pull request Oct 1, 2013
Added fields injection for the delegate instance loaded when handling si...
@frederikheremans frederikheremans merged commit 2fa6e42 into Activiti:master Oct 1, 2013
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.

None yet

2 participants