@Named(value="wagon") public final class WagonTransporterFactory extends Object implements TransporterFactory, Service
WagonProvider.| Constructor and Description |
|---|
WagonTransporterFactory()
Creates an (uninitialized) instance of this transporter factory.
|
| Modifier and Type | Method and Description |
|---|---|
float |
getPriority() |
void |
initService(ServiceLocator locator) |
Transporter |
newInstance(RepositorySystemSession session,
RemoteRepository repository) |
WagonTransporterFactory |
setPriority(float priority)
Sets the priority of this component.
|
WagonTransporterFactory |
setWagonConfigurator(WagonConfigurator wagonConfigurator)
Sets the wagon configurator to use to apply provider-specific configuration to wagon instances.
|
WagonTransporterFactory |
setWagonProvider(WagonProvider wagonProvider)
Sets the wagon provider to use to acquire and release wagon instances.
|
public WagonTransporterFactory()
public void initService(ServiceLocator locator)
initService in interface Servicepublic WagonTransporterFactory setWagonProvider(WagonProvider wagonProvider)
wagonProvider - The wagon provider to use, may be null.null.public WagonTransporterFactory setWagonConfigurator(WagonConfigurator wagonConfigurator)
wagonConfigurator - The wagon configurator to use, may be null.null.public float getPriority()
getPriority in interface TransporterFactorypublic WagonTransporterFactory setPriority(float priority)
priority - The priority.null.public Transporter newInstance(RepositorySystemSession session, RemoteRepository repository) throws NoTransporterException
newInstance in interface TransporterFactoryNoTransporterExceptionCopyright © 2010–2021 The Apache Software Foundation. All rights reserved.