Andrew,

great question. Basically I need to create a new ContextBuilder from inside
the ComputeServiceAdapter of the providerA to invoke the APIs of a
providerB.

Best,
Andrea

On Wed, Jun 24, 2015 at 7:50 PM Andrew Phillips <aphill...@qrmedia.com>
wrote:

> > I think a simple solution can be to inject
> >
> > @Provider Supplier<URI> endpoint, @Provider Supplier<Credentials> creds
>
> Seems like a good option, indeed - into the ComputeServiceAdapter
> implementation, I presume?
>
> Are you already injecting the underlying API(s) directly into the
> adapter? If so, would be curious to know why the credentials and
> endpoint are still needed?
>
> Regards
>
> ap
>

Reply via email to