Package org.everrest.guice
Class EverrestModule
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- org.everrest.guice.EverrestModule
-
- All Implemented Interfaces:
com.google.inject.Module
public class EverrestModule extends com.google.inject.AbstractModule- Author:
- andrew00x
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEverrestModule.ApplicationProviderstatic classEverrestModule.HttpHeadersProviderstatic classEverrestModule.InitialPropertiesProviderstatic classEverrestModule.ProvidersProviderstatic classEverrestModule.RequestProviderstatic classEverrestModule.SecurityContextProviderstatic classEverrestModule.ServletConfigProviderstatic classEverrestModule.UriInfoProvider
-
Constructor Summary
Constructors Constructor Description EverrestModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidconfigure()Add binding for HttpHeaders, InitialProperties, Providers, Request, SecurityContext, ServletConfig, UriInfo.-
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, requestStaticInjection, requireBinding, requireBinding
-
-
-
-
Method Detail
-
configure
protected void configure()
Add binding for HttpHeaders, InitialProperties, Providers, Request, SecurityContext, ServletConfig, UriInfo. All this types will be supported for injection in constructor or fields of component of Guice container.- Specified by:
configurein classcom.google.inject.AbstractModule- See Also:
Inject,Inject
-
-