Class ProdriversCommonsGuiceModule
java.lang.Object
com.google.inject.AbstractModule
fr.prodrivers.bukkit.commons.di.guice.ProdriversCommonsGuiceModule
- All Implemented Interfaces:
com.google.inject.Module
public class ProdriversCommonsGuiceModule
extends com.google.inject.AbstractModule
Public ProdriversCommmons module for Guice dependency injector.
Exposes all public parts of Prodrivers Commons to your dependency injector instance. You will need to use it to interact with all parts of Prodrivers Commons that requires dependency injection.
Currently, the following classes are accessible through this module :
PartyManager
SectionManager
MessageSender
SelectionUI
Database
throughEbeanProvider
DataSourceConfig
throughDataSourceConfigProvider
BukkitCommandManager
throughACFCommandManagerProvider
-
Method Summary
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding