Class ServicesModule

java.lang.Object
com.google.inject.AbstractModule
dev.getelements.elements.service.guice.ServicesModule
All Implemented Interfaces:
com.google.inject.Module

public class ServicesModule extends com.google.inject.AbstractModule
Configures all of the services, using a Scope for User, Profile injections.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ServicesModule(com.google.inject.Scope scope)
    Configures all services to use the following Scope and Attributes jakarta.inject.Provider<Attributes> type, which is used to match the Attributes to the associated Scope.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ServicesModule

      public ServicesModule(com.google.inject.Scope scope)
      Configures all services to use the following Scope and Attributes jakarta.inject.Provider<Attributes> type, which is used to match the Attributes to the associated Scope.
      Parameters:
      scope - the scope
  • Method Details

    • configure

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