Is the subscription manager is singleton? RRS feed

  • Question

  • Is the subscription manager is singleton?


    Where is it instantiated?

    Tuesday, November 27, 2007 7:56 PM


  • The subscription manager is not a singleton. In fact, all our current services create their own special instance of the service for managing their individual subscriptions. If you run sometime like service tutorial 4 then you will be able to see the subscription manager in the partner list (available from the service directory). An instance of the subscription manager is typically started like this:


    Code Block

    [Partner("SubMgr", Contract = submgr.Contract.Identifier, CreationPolicy = PartnerCreationPolicy.CreateAlways)]

    private submgr.SubscriptionManagerPort _submgrPort = new submgr.SubscriptionManagerPort();





    Tuesday, November 27, 2007 9:46 PM