org.apache.archiva.proxy.common
Class DefaultWagonFactory

java.lang.Object
  extended by 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

Field Summary
private  org.springframework.context.ApplicationContext applicationContext
           
private  DebugTransferListener debugTransferListener
           
private  org.slf4j.Logger logger
           
 
Constructor Summary
DefaultWagonFactory(org.springframework.context.ApplicationContext applicationContext)
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

applicationContext

private org.springframework.context.ApplicationContext applicationContext

logger

private org.slf4j.Logger logger

debugTransferListener

private DebugTransferListener debugTransferListener
Constructor Detail

DefaultWagonFactory

@Inject
public DefaultWagonFactory(org.springframework.context.ApplicationContext applicationContext)
Method Detail

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.