On 5/10/06, Sean Corfield <[EMAIL PROTECTED]> wrote:
Can you be a bit more specific about:
a) which version of ColdSpring you are using

0.5.0 Alpha - the latest build.  Didn't want to go from source for a
first pass, but would be happy to if needed, and I can figure out how
to do a CVS external in an SVN working directory.

b) how you are using it (which framework, autowiring, etc etc)

The ColdSpring configured beans are totally self-contained (as they
should be, if you ask me).  I happen to be using a slighly tweaked
version of FB3 on the app, but that's pretty irrelevant.  No
autowiring, bean config "inheritance" (if CS supports that?), constant
injection, or non-primitive value types.  About as bare bones as you
could make it.

c) why you have CFCs that don't have init() methods

All the services in the application (there are four, I believe)
inherit from a base (abstract) service that is initialized with a
three other beans (a logger, a notifier, and a config bean that
includes a datasource along with a couple other properties).  One of
the services needs a utility bean as well, but the other three don't
need anything else, so they inherit the init() method from the base
service.  The solution, before I patched the ColdSpring source, was to
drop the "shadow" init method I presented in my first email into those
services so ColdSpring could initialize them properly, without having
to copy and paste the init() method around (at the expense of having
proper documentation for the 'init' method's parameters).

cheers,
barneyb

--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 100 invites.

Reply via email to