Class DefaultDataSourceModule

java.lang.Object
org.iworkz.genesis.impl.AbstractModule
org.iworkz.habitat.dao.DefaultDataSourceModule
All Implemented Interfaces:
org.iworkz.genesis.Module

public class DefaultDataSourceModule
extends org.iworkz.genesis.impl.AbstractModule
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected DataSource dataSource  

    Fields inherited from class org.iworkz.genesis.impl.AbstractModule

    dependencies
  • Constructor Summary

    Constructors
    Constructor Description
    DefaultDataSourceModule​(DataSource dataSource)  
  • Method Summary

    Modifier and Type Method Description
    void configure()  

    Methods inherited from class org.iworkz.genesis.impl.AbstractModule

    addDependency, bind, bindScope, getBindings, getClassLoaders, getDependencies, getImplementationClassProcessors, getImplementationFinders, getInstance, getPostProcessors, getRanking, getScopes, getStandardImplementationClassProcessor, getStandardImplementationFinder, getStandardPostProcessor, postProcess, registerClassLoader, registerImplementationClassProcessor, registerImplementationFinder, registerPostProcessor, setRanking

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • dataSource

      protected final DataSource dataSource
  • Constructor Details

    • DefaultDataSourceModule

      public DefaultDataSourceModule​(DataSource dataSource)
  • Method Details

    • configure

      public void configure()
      Specified by:
      configure in interface org.iworkz.genesis.Module
      Overrides:
      configure in class org.iworkz.genesis.impl.AbstractModule