[
https://jira.jboss.org/browse/JBPM-2842?page=com.atlassian.jira.plugin.sy...
]
Huisheng Xu resolved JBPM-2842.
-------------------------------
Assignee: Huisheng Xu
Fix Version/s: jBPM 4.4
Resolution: Done
By default, UserCode used by custom/java will be a singleton. If you want to create a new
instance each time, please use cache="false" to disable the cache for
UserCodeReference.
Use Singletons as "custom" or "java" activity
(state) processors
----------------------------------------------------------------
Key: JBPM-2842
URL:
https://jira.jboss.org/browse/JBPM-2842
Project: jBPM
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Reporter: track lead
Assignee: Huisheng Xu
Fix For: jBPM 4.4
Presently, jBPM execution engine creates a new instance of the Java class associated with
a state / activity.
We would like to use pre-configured instances as custom and Java activity handlers and/or
for decision making.
It would also be wonderful to be able to use Spring beans as activity handlers.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira