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
Nested ClassesModifier and TypeClassDescriptionprotected static classprotected static classprotected static classNested classes/interfaces inherited from class com.google.inject.servlet.ServletModule
com.google.inject.servlet.ServletModule.FilterKeyBindingBuilder, com.google.inject.servlet.ServletModule.ServletKeyBindingBuilder -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Propertiesprivate Propertiesprivate com.google.common.eventbus.EventBus(package private) static org.apache.commons.logging.Logprivate booleanprivate Map -
Constructor Summary
ConstructorsConstructorDescriptionGuiceBaseModule(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 voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected ClassinterfaceFromComponent(String componentKey, String componentValue) protected ClassinterfaceFromConcreteClass(Class concreteClass) Methods inherited from class com.google.inject.servlet.ServletModule
configure, filter, filterRegex, getServletContext, serve, serveRegexMethods 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:
configureServletsin 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()
-