Add @Inject to the Compute class.

This commit is contained in:
Ioannis Canellos 2013-04-05 01:45:51 +03:00
parent 9ce7bc9e80
commit 14bdcf5087
1 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,7 @@
*/ */
package org.jclouds.apis; package org.jclouds.apis;
import com.google.inject.Inject;
import org.jclouds.Context; import org.jclouds.Context;
import org.jclouds.internal.BaseView; import org.jclouds.internal.BaseView;
import org.jclouds.location.Provider; import org.jclouds.location.Provider;
@ -27,6 +28,7 @@ import com.google.common.reflect.TypeToken;
*/ */
public class Compute extends BaseView { public class Compute extends BaseView {
@Inject
public Compute(@Provider Context ctx, @Provider TypeToken<? extends Context> inputType) { public Compute(@Provider Context ctx, @Provider TypeToken<? extends Context> inputType) {
super(ctx, inputType); super(ctx, inputType);
} }