jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrea Turli <notificati...@github.com>
Subject Re: [jclouds-labs] [JCLOUDS-500] Initial commit for docker (#57)
Date Fri, 21 Mar 2014 17:23:03 GMT
> + */
> +@Singleton
> +public class DockerComputeServiceAdapter implements
> +        ComputeServiceAdapter<Container, Hardware, Image, Location> {
> +
> +   @Resource
> +   @Named(ComputeServiceConstants.COMPUTE_LOGGER)
> +   protected Logger logger = Logger.NULL;
> +
> +   private final DockerApi api;
> +   private final ApiContext<DockerApi> context;
> +
> +   @Inject
> +   public DockerComputeServiceAdapter(DockerApi api, ApiContext<DockerApi> context)
{
> +      this.api = checkNotNull(api, "api");
> +      this.context = context;

Do you have an example for that?

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