Class GuiceBaseModule
java.lang.Object
com.google.inject.AbstractModule
com.google.inject.servlet.ServletModule
com.softslate.commerce.businessobjects.core.GuiceBaseModule
- All Implemented Interfaces:
com.google.inject.Module
public class GuiceBaseModule
extends com.google.inject.servlet.ServletModule
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
protected static class
protected static class
Nested classes/interfaces inherited from class com.google.inject.servlet.ServletModule
com.google.inject.servlet.ServletModule.FilterKeyBindingBuilder, com.google.inject.servlet.ServletModule.ServletKeyBindingBuilder
-
Field Summary
Modifier and TypeFieldDescriptionprivate Properties
private Properties
private com.google.common.eventbus.EventBus
(package private) static org.apache.commons.logging.Log
private boolean
private Map
-
Constructor Summary
ConstructorDescriptionGuiceBaseModule
(Properties appComponents, Properties appComponentsDefaults, Map singletons, boolean noServlet) GuiceBaseModule
(Properties appComponents, Properties appComponentsDefaults, Map singletons, com.google.common.eventbus.EventBus eventBus) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
protected void
protected void
protected void
protected void
protected Class
interfaceFromComponent
(String componentKey, String componentValue) protected Class
interfaceFromConcreteClass
(Class concreteClass) Methods inherited from class com.google.inject.servlet.ServletModule
configure, filter, filterRegex, getServletContext, 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
-
Field Details
-
log
static org.apache.commons.logging.Log log -
appComponents
-
appComponentsDefaults
-
singletons
-
eventBus
private com.google.common.eventbus.EventBus eventBus -
noServlet
private boolean noServlet
-
-
Constructor Details
-
GuiceBaseModule
public GuiceBaseModule(Properties appComponents, Properties appComponentsDefaults, Map singletons, com.google.common.eventbus.EventBus eventBus) -
GuiceBaseModule
public GuiceBaseModule(Properties appComponents, Properties appComponentsDefaults, Map singletons, boolean noServlet)
-
-
Method Details
-
configureServlets
protected void configureServlets()- Overrides:
configureServlets
in classcom.google.inject.servlet.ServletModule
-
bindSingletons
protected void bindSingletons() -
bindFromComponentsFiles
protected void bindFromComponentsFiles() -
interfaceFromComponent
-
interfaceFromConcreteClass
-
bindUserObject
protected void bindUserObject() -
bindBusinessObjectFactory
protected void bindBusinessObjectFactory() -
bindSettingsObject
protected void bindSettingsObject()
-