Package org.eclipse.aether.internal.impl
Class DefaultTransporterProvider
java.lang.Object
org.eclipse.aether.internal.impl.DefaultTransporterProvider
- All Implemented Interfaces:
org.eclipse.aether.spi.connector.transport.TransporterProvider
,org.eclipse.aether.spi.locator.Service
@Singleton
@Named
public final class DefaultTransporterProvider
extends Object
implements org.eclipse.aether.spi.connector.transport.TransporterProvider, org.eclipse.aether.spi.locator.Service
-
Constructor Summary
ConstructorDescriptionDeprecated.DefaultTransporterProvider
(Set<org.eclipse.aether.spi.connector.transport.TransporterFactory> transporterFactories) -
Method Summary
Modifier and TypeMethodDescriptionaddTransporterFactory
(org.eclipse.aether.spi.connector.transport.TransporterFactory factory) void
initService
(org.eclipse.aether.spi.locator.ServiceLocator locator) org.eclipse.aether.spi.connector.transport.Transporter
newTransporter
(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.RemoteRepository repository) setTransporterFactories
(Collection<org.eclipse.aether.spi.connector.transport.TransporterFactory> factories)
-
Constructor Details
-
DefaultTransporterProvider
Deprecated. -
DefaultTransporterProvider
@Inject public DefaultTransporterProvider(Set<org.eclipse.aether.spi.connector.transport.TransporterFactory> transporterFactories)
-
-
Method Details
-
initService
- Specified by:
initService
in interfaceorg.eclipse.aether.spi.locator.Service
-
addTransporterFactory
public DefaultTransporterProvider addTransporterFactory(org.eclipse.aether.spi.connector.transport.TransporterFactory factory) -
setTransporterFactories
public DefaultTransporterProvider setTransporterFactories(Collection<org.eclipse.aether.spi.connector.transport.TransporterFactory> factories) -
newTransporter
public org.eclipse.aether.spi.connector.transport.Transporter newTransporter(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.RemoteRepository repository) throws org.eclipse.aether.transfer.NoTransporterException - Specified by:
newTransporter
in interfaceorg.eclipse.aether.spi.connector.transport.TransporterProvider
- Throws:
org.eclipse.aether.transfer.NoTransporterException
-