org.apache.maven.model.converter.relocators
Class DefaultPluginRelocatorManager

java.lang.Object
  extended byorg.codehaus.plexus.logging.AbstractLogEnabled
      extended byorg.apache.maven.model.converter.relocators.DefaultPluginRelocatorManager
All Implemented Interfaces:
org.codehaus.plexus.logging.LogEnabled, PluginRelocatorManager

public class DefaultPluginRelocatorManager
extends org.codehaus.plexus.logging.AbstractLogEnabled
implements PluginRelocatorManager

A default implementation of the PluginRelocatorManager interface.

Version:
$Id: DefaultPluginRelocatorManager.java 661727 2008-05-30 14:21:49Z bentmann $
Author:
Dennis Lundberg

Field Summary
 
Fields inherited from interface org.apache.maven.model.converter.relocators.PluginRelocatorManager
ROLE
 
Constructor Summary
DefaultPluginRelocatorManager()
           
 
Method Summary
 PluginRelocator getPluginRelocator(String pluginRelocatorId)
          Get a named plugin relocator.
 Collection getPluginRelocators()
          Get all available plugin relocators.
 
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPluginRelocatorManager

public DefaultPluginRelocatorManager()
Method Detail

getPluginRelocator

public PluginRelocator getPluginRelocator(String pluginRelocatorId)
                                   throws NoSuchPluginRelocatorException
Description copied from interface: PluginRelocatorManager
Get a named plugin relocator.

Specified by:
getPluginRelocator in interface PluginRelocatorManager
Parameters:
pluginRelocatorId - The role-hint for the plexus component
Returns:
The named plugin relocator
Throws:
NoSuchPluginRelocatorException - If the named plugin relocator can not be found

getPluginRelocators

public Collection getPluginRelocators()
Description copied from interface: PluginRelocatorManager
Get all available plugin relocators.

Specified by:
getPluginRelocators in interface PluginRelocatorManager
Returns:
A Collection of PluginRelocator objects


Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.