org.jclouds.trmk.vcloud_0_8.config
Class DefaultOrgForUser

java.lang.Object
  extended by org.jclouds.trmk.vcloud_0_8.config.DefaultOrgForUser
All Implemented Interfaces:
com.google.common.base.Function<String,ReferenceType>

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

Author:
Adrian Cole

Constructor Summary
DefaultOrgForUser(ValueOfConfigurationKeyOrNull valueOfConfigurationKeyOrNull, com.google.common.base.Predicate<ReferenceType> defaultSelector, com.google.common.base.Supplier<VCloudSession> sessionSupplier)
           
 
Method Summary
 ReferenceType apply(String user)
           
 
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

DefaultOrgForUser

@Inject
public DefaultOrgForUser(ValueOfConfigurationKeyOrNull valueOfConfigurationKeyOrNull,
                                com.google.common.base.Predicate<ReferenceType> defaultSelector,
                                com.google.common.base.Supplier<VCloudSession> sessionSupplier)
Method Detail

apply

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


Copyright © 2009-2011 jclouds. All Rights Reserved.