Class AetherModule

java.lang.Object
com.google.inject.AbstractModule
org.eclipse.aether.impl.guice.AetherModule
All Implemented Interfaces:
com.google.inject.Module

public class AetherModule extends com.google.inject.AbstractModule
A ready-made Guice module that sets up bindings for all components from this library. To acquire a complete repository system, clients need to bind an artifact descriptor reader, a version resolver, a version range resolver, zero or more metadata generator factories, some repository connector and transporter factories to access remote repositories.
Restriction:
This class must not be extended by clients and will eventually be marked final without prior notice.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new instance of this Guice module, typically for invoking Binder.install(com.google.inject.Module).
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    Configures Guice with bindings for Aether components provided by this library.

    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

    Methods inherited from class java.lang.Object

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

    • AetherModule

      public AetherModule()
      Creates a new instance of this Guice module, typically for invoking Binder.install(com.google.inject.Module).
  • Method Details

    • configure

      protected void configure()
      Configures Guice with bindings for Aether components provided by this library.
      Overrides:
      configure in class com.google.inject.AbstractModule