Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
See the comments in the parent issue.
Add an unwrapApi() method to get at the underlying Api from a View. For example:
ComputeServiceContext context = ContextBuilder.newBuilder("rackspace-cloudservers-us")
.credentials(username, apiKey)
.buildView(ComputeServiceContext.class);
ComputeService compute = context.getComputeService();
NovaApi novaApi = context.unwrapApi(NovaApi.class);