com.thalesgroup.dtkit.ws.rs.services
Class GuiceModule

java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by com.google.inject.servlet.ServletModule
          extended by com.thalesgroup.dtkit.ws.rs.services.GuiceModule
All Implemented Interfaces:
com.google.inject.Module

public class GuiceModule
extends com.google.inject.servlet.ServletModule


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.inject.servlet.ServletModule
com.google.inject.servlet.ServletModule.FilterKeyBindingBuilder, com.google.inject.servlet.ServletModule.ServletKeyBindingBuilder
 
Constructor Summary
GuiceModule(java.lang.String host, java.lang.String port, java.lang.String dbName)
           
 
Method Summary
protected  void bindDAO()
           
protected  void configureServlets()
           
 
Methods inherited from class com.google.inject.servlet.ServletModule
configure, filter, filterRegex, serve, serveRegex
 
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

GuiceModule

public GuiceModule(java.lang.String host,
                   java.lang.String port,
                   java.lang.String dbName)
Method Detail

configureServlets

protected void configureServlets()
Overrides:
configureServlets in class com.google.inject.servlet.ServletModule

bindDAO

protected void bindDAO()


Copyright © 2004-2011. All Rights Reserved.