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
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
ConstructorDescriptionCreates a new instance of this Guice module, typically for invokingBinder.install(com.google.inject.Module)
. -
Method Summary
Modifier and TypeMethodDescriptionprotected 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
-
Constructor Details
-
AetherModule
public AetherModule()Creates a new instance of this Guice module, typically for invokingBinder.install(com.google.inject.Module)
.
-
-
Method Details
-
configure
Configures Guice with bindings for Aether components provided by this library.- Overrides:
configure
in classcom.google.inject.AbstractModule
-