Package com.google.inject.struts2
Class Struts2GuicePluginModule
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- com.google.inject.struts2.Struts2GuicePluginModule
-
- All Implemented Interfaces:
Module
public class Struts2GuicePluginModule extends AbstractModule
Initializes the Struts 2 Guice Plugin. Must be added to the injector returned byGuiceServletContextListener.getInjector()
.
-
-
Constructor Summary
Constructors Constructor Description Struts2GuicePluginModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configure()
Configures aBinder
via the exposed methods.-
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
-
-
-
-
Method Detail
-
configure
protected void configure()
Description copied from class:AbstractModule
Configures aBinder
via the exposed methods.- Overrides:
configure
in classAbstractModule
-
-