> +import org.jclouds.profitbricks.compute.function.ImageToImage;
> +import org.jclouds.profitbricks.compute.function.ServerToNodeMetadata;
> +import org.jclouds.profitbricks.compute.function.StorageToVolume;
> +
> +import com.google.common.base.Function;
> +import com.google.inject.TypeLiteral;
> +
> +public class ProfitBricksComputeServiceContextModule extends
> + ComputeServiceAdapterContextModule<Server, Hardware, Image, DataCenter>
> {
> +
> + @Override
> + protected void configure() {
> + super.configure();
> +
> + // FIXME Not working
> + install(new LocationsFromComputeServiceAdapterModule<Server, Hardware,
> Image, DataCenter>() {
For some reason, this module doesn't get installed. Guice still complains that
there are no bound implementation for `Supplier<java.util.Set<? extends
org.jclouds.domain.Location>>` when used in the
[ServerToNodeMetadata](https://github.com/jclouds/jclouds-labs/pull/145/files#diff-56ae535b8c57334bd467e33f42c740b9R63)
constructor.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/145/files#r25661831