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

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
 

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–2014 The Apache Software Foundation. All rights reserved.