org.jclouds.rest.config
Class CreateClientForCaller

java.lang.Object
  extended by com.google.common.cache.CacheLoader<ClassMethodArgs,Object>
      extended by org.jclouds.rest.config.CreateClientForCaller

public class CreateClientForCaller
extends com.google.common.cache.CacheLoader<ClassMethodArgs,Object>

CreateClientForCaller is parameterized, so clients it creates aren't singletons. For example, CreateClientForCaller satisfies a call like this: context.getProviderSpecificContext().getApi().getOrgClientForName(name)

Author:
Adrian Cole

Method Summary
 Object load(ClassMethodArgs from)
           
 
Methods inherited from class com.google.common.cache.CacheLoader
from, from
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

load

public Object load(ClassMethodArgs from)
            throws ExecutionException
Specified by:
load in class com.google.common.cache.CacheLoader<ClassMethodArgs,Object>
Throws:
ExecutionException


Copyright © 2009-2011 jclouds. All Rights Reserved.