-
1. Re: Delegation design
kukeltje Dec 15, 2005 1:27 PM (in response to ejimenez)Where do you want to pass parameters from? Currently they are passed from the process definition. I developed a generic action that takes a list (or a map) as one parameter. This generic list contains info on what to do next, including a jndi name, which kan pass on the list (and other process related info) to an ejb.
Do you mis functionality this way? -
2. Re: Delegation design
ejimenez Dec 15, 2005 3:31 PM (in response to ejimenez)Ok, been doing some more research. How do you pass a list or a map from a process definition?
What I could use is the config-type constructor with a generic class, parse the XML string and pass that as properties to an EJB that complies with the action handler interface plus the reception of the map.
Wouldn't it be possible though to come up with an Instantiator that makes the call to an EJB instead? One problem now is that the Instantiator receives a class instead of a String.
Anyhow, just trying to find the simplest way to do this. Let me know how to pass a map as config for an action though. Apologize if this ends up being a user question instead of a design one.