org.sonatype.aether.connector.wagon
Class PlexusWagonConfigurator

java.lang.Object
  extended by org.sonatype.aether.connector.wagon.PlexusWagonConfigurator
All Implemented Interfaces:
WagonConfigurator

@Component(role=WagonConfigurator.class,
           hint="plexus")
public class PlexusWagonConfigurator
extends java.lang.Object
implements WagonConfigurator

A wagon configurator based on the Plexus component configuration framework.

Author:
Benjamin Bentmann

Constructor Summary
PlexusWagonConfigurator()
           
 
Method Summary
 void configure(org.apache.maven.wagon.Wagon wagon, java.lang.Object configuration)
          Configures the specified wagon instance with the given configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlexusWagonConfigurator

public PlexusWagonConfigurator()
Method Detail

configure

public void configure(org.apache.maven.wagon.Wagon wagon,
                      java.lang.Object configuration)
               throws java.lang.Exception
Description copied from interface: WagonConfigurator
Configures the specified wagon instance with the given configuration.

Specified by:
configure in interface WagonConfigurator
Parameters:
wagon - The wagon instance to configure, must not be null.
configuration - The configuration to apply to the wagon instance, must not be null.
Throws:
java.lang.Exception - If the configuration could not be applied to the wagon.


Copyright © 2010-2011 Sonatype, Inc.. All Rights Reserved.