Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2007

    Talking Data Provider question

    I have a data provider. Is it thread-safe to use client specific instance variables in it? Is it that a new instance of my data provider is created for each new client? If one client fires up 2 instances of IE and logs in as the same client, 2 instances of my data provider are created to serve the requests If the client closes one browser, one of the 2 instances of my data provider is gced . if he closes both browsers, then both instances of my dp are gced right?

  2. #2
    Join Date
    Jul 2006
    Milan, Italy
    Only one instance of your Data Provider is created and it is used for all the lifecycle of the Server. That means that such instance will be shared for all the requests. Also notice that the Data Provider has no notion of users. It's the Metadata Adapter that can know about each user's requests.



Similar Threads

  1. Single data provider and multiple data sources
    By pluczak in forum Adapter SDKs
    Replies: 1
    Last Post: April 26th, 2012, 11:50 AM
  2. Misconfigured Vivace / Delayed Updates with Data Provider
    By exchangepulse in forum Adapter SDKs
    Replies: 5
    Last Post: October 28th, 2009, 06:41 PM
  3. Data Provider Protocol Method Tags
    By juls in forum Adapter SDKs
    Replies: 1
    Last Post: March 4th, 2009, 10:00 AM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT +1. The time now is 04:58 PM.