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-openstack] Poppy service api (#179)
Date Fri, 06 Mar 2015 22:04:47 GMT
> +import javax.inject.Singleton;
> +
> +import org.jclouds.http.functions.ParseJson;
> +import org.jclouds.json.Json;
> +import org.jclouds.openstack.poppy.v1.domain.Services;
> +
> +import com.google.inject.TypeLiteral;
> +
> +/**
> + * Used by jclouds to provide more specific collections and fallbacks.
> + */
> +@Singleton
> +public class ParseServices extends ParseJson<Services> {
> +
> +   @Inject
> +   public ParseServices(Json json) {

In general, all injection constructors should be package private.

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