org.jclouds.vcloud.director.v1_5.functions
Class URNToHref

java.lang.Object
  extended by org.jclouds.vcloud.director.v1_5.functions.URNToHref
All Implemented Interfaces:
com.google.common.base.Function<Object,URI>

@Singleton
public final class URNToHref
extends Object
implements com.google.common.base.Function<Object,URI>

Resolves URN to its HREF via the entity Resolver

Author:
Adrian Cole

Constructor Summary
URNToHref(com.google.common.cache.LoadingCache<String,Entity> resolveEntityCache)
           
 
Method Summary
 URI apply(Object from)
           
 
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

URNToHref

@Inject
public URNToHref(com.google.common.cache.LoadingCache<String,Entity> resolveEntityCache)
Method Detail

apply

public URI apply(@Nullable
                 Object from)
Specified by:
apply in interface com.google.common.base.Function<Object,URI>


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.