On 2/16/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
> From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
> As soon as the factory class is released nothing references
> the singleton impl object and it can be released.

Agreed - the trick is avoiding the direct reference to the factory
class.

but if the factory is a pure static utility, calling
ASingleton myCopy = ASingletonFactory.getASingleton();
will leave no references to the factory class :-)

regards
Leon

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to