net.contextfw.web.application
Class WebApplicationModule

java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by net.contextfw.web.application.WebApplicationModule
All Implemented Interfaces:
com.google.inject.Module

public final class WebApplicationModule
extends com.google.inject.AbstractModule


Constructor Summary
WebApplicationModule(WebConfiguration configuration)
           
 
Method Summary
protected  void configure()
           
 com.google.gson.Gson provideGson(com.google.inject.Injector injector)
           
 net.contextfw.web.application.internal.service.WebApplicationContextHandler provideWebApplicationContextHandler(WebConfiguration configuration)
           
 
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebApplicationModule

public WebApplicationModule(WebConfiguration configuration)
Method Detail

configure

protected void configure()
Specified by:
configure in class com.google.inject.AbstractModule

provideGson

@Provides
public com.google.gson.Gson provideGson(com.google.inject.Injector injector)

provideWebApplicationContextHandler

@Provides
public net.contextfw.web.application.internal.service.WebApplicationContextHandler provideWebApplicationContextHandler(WebConfiguration configuration)


Copyright © 2011. All Rights Reserved.