OK, all messages I've tried to post to the list have been denied over
the last 2 days, let's try this one...
This would be super simple, just check out the implementation of
coldspring.context.DefaultApplicationContext, maybe just copt it, and
as Dave says, change the getBean() method to load(). If I was to
write such a wrapper class, I would extend
coldspring.context.AbstractApplicationContext as the
DefaultApplicationContext does, but that would be me...
Chris
On Dec 21, 2005, at 9:36 AM, Baz wrote:
Hehehe - but ofcourse! Silly me.
-----Original Message-----
From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Dave Ross
Sent: December 21, 2005 6:52 AM
To: [email protected]
Subject: [coldspring-dev] replacing getBean
You definitely don't want to modify the core framework... but it would
be trivial to write your own wrapper around the BeanFactory that has a
load() method (which delegates to getBean()). Let us know if you need
help writing such a thing.
-Dave
On 12/21/05, Baz <[EMAIL PROTECTED]> wrote:
Maybe 1000 was a bit of an exaggeration - but definitely in the
mid-hundreds. I don't use a public framework - I've been working
with my
own
for several years now.
Baz
________________________________
From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf
Of Peter J. Farrell
Sent: December 21, 2005 5:16 AM
To: [email protected]
Subject: [coldspring-dev] replacing getBean
Baz wrote:
Damn, I thought someone might say that. So basically it comes down to
whether I should change 1000+ instances of the "load" command - or
just
get
stuck with having to modify coldspring slightly with every new
release. I
may actually change the 1000+ instances - since it seems to be an
easy
find/replace.
Cheers,
Baz
From what I understand, ColdSpring model Java's Spring pretty much -
including terminology and the DTD (that's why there isn't a CS DTD
yet).
I'd do a search and replace my friend! However, a 1000+ seems a
bit much
--
are you using a framework like Mach-II or Model-Glue? Or just ad
hoc?
.Peter
--
Peter J. Farrell :: Maestro Publishing
http://blog.maestropublishing.com
Rooibos Generator - Version 2.1
Create boilerplate beans and transfer objects for ColdFusion!
http://rooibos.maestropublishing.com/
- Member Team Mach-II
- Member Team Fusion