org.apache.archiva.proxy.common
Class DefaultWagonFactory
java.lang.Object
org.apache.archiva.proxy.common.DefaultWagonFactory
- All Implemented Interfaces:
- WagonFactory
@Service(value="wagonFactory")
public class DefaultWagonFactory
- extends Object
- implements WagonFactory
- Since:
- 1.4-M1
- Author:
- Olivier Lamy
Constructor Summary |
DefaultWagonFactory(org.springframework.context.ApplicationContext applicationContext)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
applicationContext
private org.springframework.context.ApplicationContext applicationContext
logger
private org.slf4j.Logger logger
debugTransferListener
private DebugTransferListener debugTransferListener
DefaultWagonFactory
@Inject
public DefaultWagonFactory(org.springframework.context.ApplicationContext applicationContext)
getWagon
public org.apache.maven.wagon.Wagon getWagon(WagonFactoryRequest wagonFactoryRequest)
throws WagonFactoryException
- Description copied from interface:
WagonFactory
- Create a new Wagon instance for the given protocol.
- Specified by:
getWagon
in interface WagonFactory
- Returns:
- the Wagon instance
- Throws:
WagonFactoryException
configureUserAgent
protected void configureUserAgent(org.apache.maven.wagon.Wagon wagon,
WagonFactoryRequest wagonFactoryRequest)
Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.