org.codehaus.plexus.configuration
Class PlexusConfigurationMerger

java.lang.Object
  extended by org.codehaus.plexus.configuration.PlexusConfigurationMerger

public class PlexusConfigurationMerger
extends java.lang.Object


Constructor Summary
PlexusConfigurationMerger()
           
 
Method Summary
private static void copyComponentComposers(PlexusConfiguration source, PlexusConfiguration destination)
           
private static void copyComponentDiscoverers(PlexusConfiguration source, PlexusConfiguration destination)
           
private static void copyComponentFactories(PlexusConfiguration source, PlexusConfiguration destination)
           
private static void copyComponents(PlexusConfiguration source, PlexusConfiguration destination)
           
private static void copyLifecycles(PlexusConfiguration source, PlexusConfiguration destination)
           
private static void copyResources(PlexusConfiguration source, PlexusConfiguration destination)
           
static PlexusConfiguration merge(PlexusConfiguration user, PlexusConfiguration system)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlexusConfigurationMerger

public PlexusConfigurationMerger()
Method Detail

merge

public static PlexusConfiguration merge(PlexusConfiguration user,
                                        PlexusConfiguration system)

copyResources

private static void copyResources(PlexusConfiguration source,
                                  PlexusConfiguration destination)

copyComponentDiscoverers

private static void copyComponentDiscoverers(PlexusConfiguration source,
                                             PlexusConfiguration destination)

copyComponentFactories

private static void copyComponentFactories(PlexusConfiguration source,
                                           PlexusConfiguration destination)

copyComponentComposers

private static void copyComponentComposers(PlexusConfiguration source,
                                           PlexusConfiguration destination)

copyLifecycles

private static void copyLifecycles(PlexusConfiguration source,
                                   PlexusConfiguration destination)

copyComponents

private static void copyComponents(PlexusConfiguration source,
                                   PlexusConfiguration destination)