jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ignasi Barrera <notificati...@github.com>
Subject Re: [jclouds-labs] JCLOUDS-702: JClouds ProfitBricks provider - ComputeServiceAdapter (#145)
Date Tue, 03 Mar 2015 09:58:09 GMT
> +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>() {

That's because it is qualified when bound in the module that configures it:
https://github.com/jclouds/jclouds/blob/master/core/src/main/java/org/jclouds/location/config/LocationModule.java#L102-L106

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/145/files#r25674714
Mime
View raw message