com.microsoft.tfs.core.util.serverlist
Class ServerListManagerFactory

java.lang.Object
  extended by com.microsoft.tfs.core.util.serverlist.ServerListManagerFactory

public class ServerListManagerFactory
extends java.lang.Object

Static methods to get a ServerListManager that uses the best storage mechanism for the running platform.

Core classes must pass the active ConnectionAdvisor's PersistenceStoreProvider when calling getServerListProvider(PersistenceStoreProvider).

Thread-safety:
thread-safe

Constructor Summary
ServerListManagerFactory()
           
 
Method Summary
static ServerListManager getServerListProvider(PersistenceStoreProvider persistenceProvider)
          Gets the best ServerListManager for this platform.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerListManagerFactory

public ServerListManagerFactory()
Method Detail

getServerListProvider

public static ServerListManager getServerListProvider(PersistenceStoreProvider persistenceProvider)
Gets the best ServerListManager for this platform.

Parameters:
persistenceProvider - a PersistenceStoreProvider to use (must not be null )
Returns:
a ServerListManager (never null)


© 2015 Microsoft. All rights reserved.