mirror of
https://github.com/apache/jclouds.git
synced 2025-02-09 11:35:41 +00:00
Add @Inject to the Compute class.
This commit is contained in:
parent
3e9c3dc6e6
commit
a03d4183ae
@ -18,6 +18,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;
|
||||||
@ -29,6 +30,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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user