mirror of https://github.com/apache/jclouds.git
Add @Inject to the Compute class.
This commit is contained in:
parent
9ce7bc9e80
commit
14bdcf5087
|
@ -16,6 +16,7 @@
|
|||
*/
|
||||
package org.jclouds.apis;
|
||||
|
||||
import com.google.inject.Inject;
|
||||
import org.jclouds.Context;
|
||||
import org.jclouds.internal.BaseView;
|
||||
import org.jclouds.location.Provider;
|
||||
|
@ -27,6 +28,7 @@ import com.google.common.reflect.TypeToken;
|
|||
*/
|
||||
public class Compute extends BaseView {
|
||||
|
||||
@Inject
|
||||
public Compute(@Provider Context ctx, @Provider TypeToken<? extends Context> inputType) {
|
||||
super(ctx, inputType);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue