com.google.api.ads.dfa.lib.auth
Class LoginTokensHelper

java.lang.Object
  extended by com.google.api.ads.dfa.lib.auth.LoginTokensHelper

public class LoginTokensHelper
extends Object

Helper class for LoginTokens.

Author:
Adam Rogal

Constructor Summary
LoginTokensHelper(DfaServiceClientFactory dfaServiceClientFactory)
          Constructor.
 
Method Summary
 Class getLoginClass(String stubPackage)
          Retrieves the Class object representing the login service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoginTokensHelper

@Inject
public LoginTokensHelper(DfaServiceClientFactory dfaServiceClientFactory)
Constructor.

Parameters:
dfaServiceClientFactory - the DFA service client factory
Method Detail

getLoginClass

public Class getLoginClass(String stubPackage)
                    throws ClassNotFoundException
Retrieves the Class object representing the login service.

Parameters:
stubPackage - the package where all generated stubs are located
Returns:
the Class object representing the login service
Throws:
ClassNotFoundException - if the class cannot be resolved


Copyright © 2012. All Rights Reserved.