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
Deprecated.
This class is about to be dropped in 2.0.0 release. Use SISU or use maven-resolver-supplier to
get Resolver instances.
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
ConstructorDescriptionDeprecated.Creates a new instance of this Guice module, typically for invokingBinder.install(com.google.inject.Module)
. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Deprecated.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, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
Constructor Details
-
AetherModule
public AetherModule()Deprecated.Creates a new instance of this Guice module, typically for invokingBinder.install(com.google.inject.Module)
.
-
-
Method Details
-
configure
Deprecated.Configures Guice with bindings for Aether components provided by this library.- Overrides:
configure
in classcom.google.inject.AbstractModule
-