[jbpm-dev] [Design of JBoss jBPM] - Re: statefull vs stateless delegation classes

tom.baeyens@jboss.com do-not-reply at jboss.com
Fri Feb 20 03:52:43 EST 2009


alejandro, your point is correct.  when sharing a single instance, context sensitive expressions cannot be used as they were.

i see two options:

1) not doing any expression resolution in the injections.  only make it possible to inject the static string "${actor.sauce.preference}" in a member field.

and then make expression resolution available to the delegation classes through an api method invocation.

2) create a property to specify whether a delegation is stateless or not.


i'm leaning towards 1) because that is a performant default which users cannot get into trouble with.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4211720#4211720

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4211720



More information about the jbpm-dev mailing list