SAO Singleton - Multiple Instances?
- From: "Krip" <amk@xxxxxxxxxxx>
- Date: Thu, 9 Aug 2007 17:17:51 +0100
I've got a server activated object (SAO), in singleton mode (hosted in a server Console application on same machine as client). On the client, I can instantiate serveral instances via Activator.CreateInstance, and each instance maintains its own state correctly (via properties on the object). This is what I want! However, it's not the way I understand and read that Singletons are supposed to work (all mention of it indicates that state will be shared across ALL instances).
Can anyone confirm that I can rely on this stateful type of operation?
Thanks.
P.S. I'm using .NET 2.0.
.
- Follow-Ups:
- Re: SAO Singleton - Multiple Instances?
- From: UL-Tomten
- Re: SAO Singleton - Multiple Instances?
- Prev by Date: WCF ServiceContract ServiceBehavior
- Next by Date: Re: SAO Singleton - Multiple Instances?
- Previous by thread: WCF ServiceContract ServiceBehavior
- Next by thread: Re: SAO Singleton - Multiple Instances?
- Index(es):
Relevant Pages
|