org.jclouds.rest.config
Class CreateClientForCaller
java.lang.Object
com.google.common.cache.CacheLoader<ClassMethodArgs,Object>
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
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 |
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.