org.jclouds.vcloud.config
Class DefaultCatalogForOrg

java.lang.Object
  extended by org.jclouds.vcloud.config.DefaultCatalogForOrg
All Implemented Interfaces:
com.google.common.base.Function<ReferenceType,ReferenceType>

@Singleton
public class DefaultCatalogForOrg
extends Object
implements com.google.common.base.Function<ReferenceType,ReferenceType>

Author:
Adrian Cole

Constructor Summary
DefaultCatalogForOrg(ValueOfConfigurationKeyOrNull valueOfConfigurationKeyOrNull, com.google.common.base.Predicate<ReferenceType> defaultSelector, com.google.common.base.Supplier<Map<String,Org>> nameToOrg)
           
 
Method Summary
 ReferenceType apply(ReferenceType defaultOrg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Function
equals
 

Constructor Detail

DefaultCatalogForOrg

@Inject
public DefaultCatalogForOrg(ValueOfConfigurationKeyOrNull valueOfConfigurationKeyOrNull,
                                   com.google.common.base.Predicate<ReferenceType> defaultSelector,
                                   com.google.common.base.Supplier<Map<String,Org>> nameToOrg)
Method Detail

apply

public ReferenceType apply(ReferenceType defaultOrg)
Specified by:
apply in interface com.google.common.base.Function<ReferenceType,ReferenceType>


Copyright © 2009-2012 jclouds. All Rights Reserved.