> +
> + bind(new TypeLiteral<Function<URI, Proxy>>() {
> + }).to(ProxyForURI.class);
> + bind(new TypeLiteral<Function<Predicate<String>, Map<String,
> String>>>() {
> + }).to(FilterStringsBoundToInjectorByName.class);
> +// install(new GoGridParserModule());
> +// super.configure();
> + bind(new TypeLiteral<ApiContext<AzureComputeApi>>() {
> + }).to(new TypeLiteral<ApiContextImpl<AzureComputeApi>>() {
> + });
> + installLocations();
> + }
> +
> + protected void installLocations() {
> + install(new LocationModule());
> +
> bind(ImplicitLocationSupplier.class).to(AzureDefaultLocationSupplier.class).in(Scopes.SINGLETON);
All this can be removed. jclouds will provide a default location (the first
region) by default.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/132/files#r24749562