Issue 385 made jclouds stub implement the correct interface

This commit is contained in:
Adrian Cole 2010-10-22 21:39:20 -05:00
parent 46938731a5
commit 61c9583136
1 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ import javax.inject.Named;
import javax.inject.Provider; import javax.inject.Provider;
import javax.inject.Singleton; import javax.inject.Singleton;
import org.jclouds.compute.ComputeServiceAdapter; import org.jclouds.compute.JCloudsNativeComputeServiceAdapter;
import org.jclouds.compute.domain.Hardware; import org.jclouds.compute.domain.Hardware;
import org.jclouds.compute.domain.Image; import org.jclouds.compute.domain.Image;
import org.jclouds.compute.domain.ImageBuilder; import org.jclouds.compute.domain.ImageBuilder;
@ -52,7 +52,7 @@ import com.google.common.collect.ImmutableSet;
* @author Adrian Cole * @author Adrian Cole
*/ */
@Singleton @Singleton
public class StubComputeServiceAdapter implements ComputeServiceAdapter<NodeMetadata, Hardware, Image, Location> { public class StubComputeServiceAdapter implements JCloudsNativeComputeServiceAdapter {
private final Supplier<Location> location; private final Supplier<Location> location;
private final ConcurrentMap<String, NodeMetadata> nodes; private final ConcurrentMap<String, NodeMetadata> nodes;
private final Provider<Integer> idProvider; private final Provider<Integer> idProvider;