@Service(value="wagonFactory") public class DefaultWagonFactory extends Object implements WagonFactory
| Modifier and Type | Field and Description |
|---|---|
private org.springframework.context.ApplicationContext |
applicationContext |
private DebugTransferListener |
debugTransferListener |
private org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
DefaultWagonFactory(org.springframework.context.ApplicationContext applicationContext) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureUserAgent(org.apache.maven.wagon.Wagon wagon,
WagonFactoryRequest wagonFactoryRequest) |
org.apache.maven.wagon.Wagon |
getWagon(WagonFactoryRequest wagonFactoryRequest)
Create a new Wagon instance for the given protocol.
|
private org.springframework.context.ApplicationContext applicationContext
private org.slf4j.Logger logger
private DebugTransferListener debugTransferListener
@Inject public DefaultWagonFactory(org.springframework.context.ApplicationContext applicationContext)
public org.apache.maven.wagon.Wagon getWagon(WagonFactoryRequest wagonFactoryRequest) throws WagonFactoryException
WagonFactorygetWagon in interface WagonFactoryWagonFactoryExceptionprotected void configureUserAgent(org.apache.maven.wagon.Wagon wagon, WagonFactoryRequest wagonFactoryRequest)
Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.