Re: Static member variable - Singleton Pattern required?
- From: downlode@xxxxxxxxx
- Date: 11 Aug 2005 04:12:22 -0700
Hi Chris,
The main reason for confusion is that someone else said the code was
OK. So I thought perhaps I had misunderstood something.
As you point out though, all the code in the function will be executed
every time it's called, which isn't what I want - presumably it would
mean that the dataSource variable would be reset every time the
function was called.
Thanks for clarifying.
Mike
.
- References:
- Static member variable - Singleton Pattern required?
- From: downlode
- Re: Static member variable - Singleton Pattern required?
- From: Chris Uppal
- Static member variable - Singleton Pattern required?
- Prev by Date: Read and write to file in Java
- Next by Date: Re: Can someone try this on RedHat Linux/jre1.5 or redhat linux/jdk1.6 ?
- Previous by thread: Re: Static member variable - Singleton Pattern required?
- Next by thread: A simple Command Interpreter
- Index(es):
Relevant Pages
|