Class StandardServicesModule
java.lang.Object
com.google.inject.AbstractModule
dev.getelements.elements.service.guice.StandardServicesModule
- All Implemented Interfaces:
com.google.inject.Module
public class StandardServicesModule
extends com.google.inject.AbstractModule
Houses services that do not follow a majority of the scoping rules, but also do not exist strictly in the unscoped
space. These are services that perform simple tasks like name generation, session generation etc. which can be
exceptions to the security principles (it no injected user) but are visible to the code as regular services not
requiring the
Named
with the name Constants.UNSCOPED
annotation.-
Constructor Summary
Constructors -
Method Summary
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, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
Constructor Details
-
StandardServicesModule
public StandardServicesModule()
-
-
Method Details
-
configure
protected void configure()- Overrides:
configure
in classcom.google.inject.AbstractModule
-