On 30/11/06, Henning P. Schmiedehausen <[EMAIL PROTECTED]> wrote:

"Joe Carter" <[EMAIL PROTECTED]> writes:

>Personally I'd just have the singleton (snip...)

If you think about a singleton, please separate the singleton class
and the implementation class (don't have the static getInstance()
method and a possible private C'tor in the implementation). If you
separate these, it is possible for projects using e.g. Spring to
manage the classes through the framework.

Even better, google for 'evil singleton' and read the first few links...

        Best regards
                Henning

I completely agree. Allowing plug-in frameworks to work would be the
ideal.
Giving me _any_ way to extend was my main concern.
I was just a bit wary of asking for too much :-)

Cheers

Joe

Reply via email to