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

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.common.cache.CacheLoader
com.google.common.cache.CacheLoader.InvalidCacheLoadException
 
Method Summary
 Object load(ClassMethodArgs from)
           
 
Methods inherited from class com.google.common.cache.CacheLoader
from, from, loadAll, reload
 
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)
Specified by:
load in class com.google.common.cache.CacheLoader<ClassMethodArgs,Object>


Copyright © 2009-2013 jclouds. All Rights Reserved.