added missing binding for RestContext

This commit is contained in:
Adrian Cole 2012-01-06 15:35:32 -08:00
parent dd5794036a
commit 73e79468f3
1 changed files with 3 additions and 0 deletions

View File

@ -186,6 +186,9 @@ public class CloudStackRestClientModule extends RestClientModule<CloudStackClien
@Override
protected void configure() {
bind(DateAdapter.class).to(CloudStackDateAdapter.class);
bind(new TypeLiteral<RestContext<CloudStackClient, CloudStackAsyncClient>>() {
}).to(new TypeLiteral<RestContextImpl<CloudStackClient, CloudStackAsyncClient>>() {
});
bind(new TypeLiteral<RestContext<CloudStackDomainClient, CloudStackDomainAsyncClient>>() {
}).to(new TypeLiteral<RestContextImpl<CloudStackDomainClient, CloudStackDomainAsyncClient>>() {
});