Package org.jclouds.config
Class BindApiContextWithWildcardExtendsExplicitAndRawType
java.lang.Object
com.google.inject.AbstractModule
org.jclouds.config.BindApiContextWithWildcardExtendsExplicitAndRawType
- All Implemented Interfaces:
com.google.inject.Module
public class BindApiContextWithWildcardExtendsExplicitAndRawType
extends com.google.inject.AbstractModule
Allows you to lookup the
ApiMetadata.getContext()
as
ApiContext
, ApiContext<Api>
, and ApiContext<?>
.-
Constructor Summary
ConstructorsConstructorDescriptionBindApiContextWithWildcardExtendsExplicitAndRawType
(HttpApiMetadata<?> httpApiMetadata) -
Method Summary
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
Constructor Details
-
BindApiContextWithWildcardExtendsExplicitAndRawType
public BindApiContextWithWildcardExtendsExplicitAndRawType(HttpApiMetadata<?> httpApiMetadata) throws IllegalArgumentException - Throws:
IllegalArgumentException
-
-
Method Details
-
configure
protected void configure()- Overrides:
configure
in classcom.google.inject.AbstractModule
-