1 package org.apache.maven.artifact.manager;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 import org.codehaus.classworlds.ClassRealm;
23 import org.codehaus.plexus.component.configurator.AbstractComponentConfigurator;
24 import org.codehaus.plexus.component.configurator.ComponentConfigurationException;
25 import org.codehaus.plexus.component.configurator.ConfigurationListener;
26 import org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter;
27 import org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator;
28 import org.codehaus.plexus.configuration.PlexusConfiguration;
29
30
31
32
33
34 public class WagonComponentConfigurator
35 extends AbstractComponentConfigurator
36 {
37 public void configureComponent( Object component, PlexusConfiguration configuration,
38 ExpressionEvaluator expressionEvaluator, ClassRealm containerRealm,
39 ConfigurationListener listener )
40 throws ComponentConfigurationException
41 {
42 ObjectWithFieldsConverter converter = new ObjectWithFieldsConverter();
43
44 converter.processConfiguration( converterLookup, component, containerRealm.getClassLoader(), configuration,
45 expressionEvaluator, listener );
46 }
47 }