public ContactsHandlerImpl(String user, String password, int cachelimit)
      throws AuthenticationException {
    myService = new ContactsService("kostaskar-testContacts-1");
    myService.setUserCredentials(user, password);

    resetCacheLimit(cachelimit);
  }
예제 #2
0
 public void setService() throws AuthenticationException {
   myService = new ContactsService("exampleCo-exampleApp-1");
   myService.setUserCredentials(user, pass);
 }