net.netheos.pcsapi.credentials
Interface AppInfoRepository

All Known Implementing Classes:
AppInfoFileRepository

public interface AppInfoRepository

Represents a repository that contains the application (client) info


Method Summary
 AppInfo get(String providerName)
          Retrieves application information for the specified provider.
 AppInfo get(String providerName, String appName)
          Retrieves application information for the specified provider and optional application.
 

Method Detail

get

AppInfo get(String providerName)
Retrieves application information for the specified provider. The application name is not provided here because it search the default application in the repository using the provider.

Parameters:
providerName - The storage provider name
Returns:
appInfo The application informations

get

AppInfo get(String providerName,
            String appName)
Retrieves application information for the specified provider and optional application.

If repository contains only one application for the specified provider, appName may be left unspecified.

Parameters:
providerName - The storage provider name
appName - The application name (if null, the default application found in repository will be used)
Returns:
appInfo The application informations


Copyright © 2014. All Rights Reserved.