org.jclouds.trmk.vcloud_0_8.config
Class TerremarkVCloudRestClientModule.OrgMapSupplier

java.lang.Object
  extended by org.jclouds.trmk.vcloud_0_8.config.TerremarkVCloudRestClientModule.OrgMapSupplier
All Implemented Interfaces:
com.google.common.base.Supplier<Map<String,? extends Org>>
Enclosing class:
TerremarkVCloudRestClientModule<S extends TerremarkVCloudClient,A extends TerremarkVCloudAsyncClient>

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


Field Summary
protected  com.google.common.base.Function<Iterable<String>,Iterable<? extends Org>> organizationsForNames
           
protected  com.google.common.base.Supplier<VCloudSession> sessionSupplier
           
 
Constructor Summary
protected TerremarkVCloudRestClientModule.OrgMapSupplier(com.google.common.base.Supplier<VCloudSession> sessionSupplier, com.google.common.base.Function<Iterable<String>,Iterable<? extends Org>> organizationsForNames)
           
 
Method Summary
 Map<String,? extends 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<? extends Org>> organizationsForNames
Constructor Detail

TerremarkVCloudRestClientModule.OrgMapSupplier

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

get

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


Copyright © 2009-2011 jclouds. All Rights Reserved.