Class FrameworkModule

  • All Implemented Interfaces:
    com.google.inject.Module

    public final class FrameworkModule
    extends com.google.inject.AbstractModule
    A framework module which configures the system-wide bindings.
    • Constructor Summary

      Constructors 
      Constructor Description
      FrameworkModule​(int serviceWebServerPort, Map<String,​Class<?>> dependencyReferenceClasses)
      Creates a framework module with the given configuration.
    • Method Summary

      Modifier and Type Method Description
      protected void configure()  
      • Methods inherited from class com.google.inject.AbstractModule

        addError, addError, addError, bind, bind, bind, bindConstant, binder, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
    • Constructor Detail

      • FrameworkModule

        public FrameworkModule​(int serviceWebServerPort,
                               Map<String,​Class<?>> dependencyReferenceClasses)
        Creates a framework module with the given configuration.
        Parameters:
        serviceWebServerPort - the port for the web server on which endpoints of Exonum services will be mounted
        dependencyReferenceClasses - the reference classes from framework-provided dependencies
    • Method Detail

      • configure

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