com.microsoft.tfs.core
Class FrameworkServerDataProvider

java.lang.Object
  extended by com.microsoft.tfs.core.clients.framework.location.LocationService
      extended by com.microsoft.tfs.core.FrameworkServerDataProvider
All Implemented Interfaces:
ILocationService, ServerDataProvider

public class FrameworkServerDataProvider
extends LocationService

Gets server configuration information from Team Foundation Servers which support the TFS 2010 framework services.

LocationService does most of the work for us.

Since:
TEE-SDK-10.1
TFS 2010
Thread-safety:
thread-compatible

Constructor Summary
FrameworkServerDataProvider(TFSConnection connection)
          Constructs a FrameworkServerDataProvider using a TFSConnection, which can be either a TFSTeamProjectCollection or TFSConfigurationServer.
 
Method Summary
 boolean hasLocalCacheDataForConnection()
           
 
Methods inherited from class com.microsoft.tfs.core.clients.framework.location.LocationService
authenticate, configureAccessMapping, connect, ensureAuthenticated, findServerLocation, findServiceDefinition, findServiceDefinitions, findServiceDefinitionsByToolType, getAccessMapping, getAuthenticatedIdentity, getAuthorizedIdentity, getCatalogResourceID, getClientAccessMapping, getConfiguredAccessMappings, getDefaultAccessMapping, getInstanceID, getLocationCacheManager, getServerCapabilities, hasAuthenticated, locationForAccessMapping, locationForAccessMapping, locationForAccessMapping, locationForCurrentConnection, locationForCurrentConnection, reactToPossibleServerUpdate, removeAccessMapping, removeServiceDefinition, removeServiceDefinition, removeServiceDefinitions, saveServiceDefinition, saveServiceDefinitions, setDefaultAccessMapping
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FrameworkServerDataProvider

public FrameworkServerDataProvider(TFSConnection connection)
Constructs a FrameworkServerDataProvider using a TFSConnection, which can be either a TFSTeamProjectCollection or TFSConfigurationServer.

Parameters:
connection - a TFSConnection configured to point to the correct server (must not be null)
Method Detail

hasLocalCacheDataForConnection

public boolean hasLocalCacheDataForConnection()
Returns:
true if location service data for this connection can be loaded from disk successfully, false otherwise


© 2015 Microsoft. All rights reserved.