org.jclouds.vcloud.config
Class VCloudRestClientModule.OrgMapSupplier

java.lang.Object
  extended by org.jclouds.vcloud.config.VCloudRestClientModule.OrgMapSupplier
All Implemented Interfaces:
com.google.common.base.Supplier<Map<String,Org>>
Enclosing class:
VCloudRestClientModule

@Singleton
public static class VCloudRestClientModule.OrgMapSupplier
extends Object
implements com.google.common.base.Supplier<Map<String,Org>>


Field Summary
protected  com.google.common.base.Function<Iterable<String>,Iterable<Org>> organizationsForNames
           
protected  com.google.common.base.Supplier<VCloudSession> sessionSupplier
           
 
Constructor Summary
protected VCloudRestClientModule.OrgMapSupplier(com.google.common.base.Supplier<VCloudSession> sessionSupplier, com.google.common.base.Function<Iterable<String>,Iterable<Org>> organizationsForNames)
           
 
Method Summary
 Map<String,Org> get()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sessionSupplier

protected final com.google.common.base.Supplier<VCloudSession> sessionSupplier

organizationsForNames

protected final com.google.common.base.Function<Iterable<String>,Iterable<Org>> organizationsForNames
Constructor Detail

VCloudRestClientModule.OrgMapSupplier

@Inject
protected VCloudRestClientModule.OrgMapSupplier(com.google.common.base.Supplier<VCloudSession> sessionSupplier,
                                                       com.google.common.base.Function<Iterable<String>,Iterable<Org>> organizationsForNames)
Method Detail

get

public Map<String,Org> get()
Specified by:
get in interface com.google.common.base.Supplier<Map<String,Org>>


Copyright © 2009-2012 jclouds. All Rights Reserved.