Ted Husted wrote:
On 12/12/06, Don Brown <[EMAIL PROTECTED]> wrote:

>   <action name="..." class="Spring:SpringBeanName" />
>
> or something like that to kind of indicate to a developer, "Hey, this
> isn't a standard java class name."
>
Good point.  I like this idea more because it would allow us to use
multiple object factories simultaneously.  You know, you should make an
object factory that parses prefixes to delegate to the proper object
factory... :)

If all of my Actions are being injected, then a prefix adds no
information. It's just six more characters to type (and possibliy
mistype) in each and every attriibute. We'd just be saying "smurf
smurf smurf" :)

The added information is, perhaps, clarity, though you make a strong argument for possible dubiousness on that point. My original thinking about this was "this took way to long to figure out, maybe this doc should have it as a bulleted item." Then, I thought "wait, the action configiruation isn't explicit about this element." Anyway, if clarity is not an issue, determinacy certainly is, because name-space collisions are possible. Maybe solved by an order property like:
objectFactoryOrder = spring, new

Or does this already exist?


-Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to