Class Struts2GuicePluginModule

  • java.lang.Object
    • com.google.inject.AbstractModule
      • com.google.inject.struts2.Struts2GuicePluginModule
  • All Implemented Interfaces:
    com.google.inject.Module

    public class Struts2GuicePluginModule
    extends com.google.inject.AbstractModule
    Initializes the Struts 2 Guice Plugin. Must be added to the injector returned by GuiceServletContextListener.getInjector().
    Author:
    benmccann.com
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void configure()  
      • 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, requestStaticInjection, requireBinding, requireBinding
    • Constructor Detail

      • Struts2GuicePluginModule

        public Struts2GuicePluginModule()
    • Method Detail

      • configure

        protected void configure()
        Overrides:
        configure in class com.google.inject.AbstractModule