Rex: Thanks.

On Tue, Jul 30, 2013 at 6:41 PM, Personal <r...@e-hoffman.org> wrote:

> If it meets your needs prefer ComputeServiceContext as it is more generic,
> it will not have as many features as the NovaAPI
>
> On Jul 30, 2013, at 3:36 PM, Bk Lau <bklau2...@gmail.com> wrote:
>
> I'm a little confused by examples per jcloud 1.6.1
>
>  NovaApi nova = ContextBuilder.newBuilder(provider)
>                 .endpoint("http://172.16.0.1:5000/v2.0/";)
>                 .credentials(identity, password)
>                 .buildApi(NovaApi.class);
>
>           versus
>
>  ComputeServiceContext context=ContextBuilder.newBuilder(provider)
>              .endpoint("http://172.16.0.1:5000/v2.0/";)
> .credentials(identity, password)
> .buildView(ComputeServiceContext.class);
>
>
> So which one to use?
>
>
>

Reply via email to