Do we have a solid contract for our flow context object?
The FlowContextHelper returns an object, so e.g. in the jxtg we
have something like:
        if (contextObject instanceof Map) {
            map.putAll((Map)contextObject);
        } else if ( contextObject != null ) {
            fillContext(contextObject, map);
        }
to test whether the context is a map or a bean. Wouldn't it
be better/easier to require that the flow context is always a map?

Carsten

--
Carsten Ziegeler - Open Source Group, S&N AG
http://www.s-und-n.de
http://www.osoco.org/weblogs/rael/

Reply via email to