Package org.eclipse.aether.internal.impl
Class DefaultTransporterProvider
- java.lang.Object
-
- org.eclipse.aether.internal.impl.DefaultTransporterProvider
-
- All Implemented Interfaces:
TransporterProvider
,Service
@Named public final class DefaultTransporterProvider extends Object implements TransporterProvider, Service
-
-
Constructor Summary
Constructors Constructor Description DefaultTransporterProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DefaultTransporterProvider
addTransporterFactory(TransporterFactory factory)
void
initService(ServiceLocator locator)
Transporter
newTransporter(RepositorySystemSession session, RemoteRepository repository)
DefaultTransporterProvider
setTransporterFactories(Collection<TransporterFactory> factories)
-
-
-
Constructor Detail
-
DefaultTransporterProvider
public DefaultTransporterProvider()
-
-
Method Detail
-
initService
public void initService(ServiceLocator locator)
- Specified by:
initService
in interfaceService
-
addTransporterFactory
public DefaultTransporterProvider addTransporterFactory(TransporterFactory factory)
-
setTransporterFactories
public DefaultTransporterProvider setTransporterFactories(Collection<TransporterFactory> factories)
-
newTransporter
public Transporter newTransporter(RepositorySystemSession session, RemoteRepository repository) throws NoTransporterException
- Specified by:
newTransporter
in interfaceTransporterProvider
- Throws:
NoTransporterException
-
-