Package org.eclipse.aether.impl.guice
Class AetherModule
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- org.eclipse.aether.impl.guice.AetherModule
-
- All Implemented Interfaces:
com.google.inject.Module
- Direct Known Subclasses:
AetherModule
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 AetherModule()
Creates a new instance of this Guice module, typically for invokingBinder.install(com.google.inject.Module)
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configure()
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, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
-
-
-
Constructor Detail
-
AetherModule
public AetherModule()
Creates a new instance of this Guice module, typically for invokingBinder.install(com.google.inject.Module)
.
-
-
Method Detail
-
configure
protected void configure()
Configures Guice with bindings for Aether components provided by this library.- Specified by:
configure
in classcom.google.inject.AbstractModule
-
-