You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Ignasi Barrera (JIRA)" <ji...@apache.org> on 2013/05/23 09:00:23 UTC

[jira] [Updated] (JCLOUDS-82) Add a method to unwrap the target API from the view

     [ https://issues.apache.org/jira/browse/JCLOUDS-82?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ignasi Barrera updated JCLOUDS-82:
----------------------------------

    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);

    
> Add a method to unwrap the target API from the view
> ---------------------------------------------------
>
>                 Key: JCLOUDS-82
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-82
>             Project: jclouds
>          Issue Type: Sub-task
>          Components: jclouds-core
>            Reporter: Ignasi Barrera
>            Assignee: Ignasi Barrera
>             Fix For: 1.7.0
>
>
> 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);

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira