com.microsoft.tfs.core.util.serverlist.internal
Class PersistenceStoreServerListManager

java.lang.Object
  extended by com.microsoft.tfs.core.util.serverlist.internal.PersistenceStoreServerListManager
All Implemented Interfaces:
ServerListManager

public class PersistenceStoreServerListManager
extends java.lang.Object
implements ServerListManager

The default implementation of ServerListManager, using the PersistenceStore mechanism.

Thread-safety:
unknown

Constructor Summary
PersistenceStoreServerListManager(PersistenceStore configurationStore)
           
 
Method Summary
 ServerList getServerList()
          Provides the list of known servers.
 boolean setServerList(ServerList serverList)
          Sets the list of known server URIs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistenceStoreServerListManager

public PersistenceStoreServerListManager(PersistenceStore configurationStore)
Method Detail

getServerList

public ServerList getServerList()
Provides the list of known servers.

Specified by:
getServerList in interface ServerListManager
Returns:
The list of servers (never null)

setServerList

public boolean setServerList(ServerList serverList)
Sets the list of known server URIs.

Specified by:
setServerList in interface ServerListManager
Parameters:
serverList - The server list.


© 2015 Microsoft. All rights reserved.