org.apache.maven.extension
Class DefaultExtensionManager

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by org.apache.maven.extension.DefaultExtensionManager
All Implemented Interfaces:
ExtensionManager, org.codehaus.plexus.logging.LogEnabled, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable

public class DefaultExtensionManager
extends org.codehaus.plexus.logging.AbstractLogEnabled
implements ExtensionManager, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable

Used to locate extensions.

Version:
$Id: DefaultExtensionManager.java 796891 2009-07-22 22:03:26Z jdcasey $
Author:
Brett Porter, Jason van Zyl

Constructor Summary
DefaultExtensionManager()
           
 
Method Summary
 void addExtension(Extension extension, MavenProject project, ArtifactRepository localRepository)
           
 void contextualize(org.codehaus.plexus.context.Context context)
           
 Map<String,ArtifactHandler> getArtifactTypeHandlers()
           
 void registerWagons()
           
 
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

DefaultExtensionManager

public DefaultExtensionManager()
Method Detail

addExtension

public void addExtension(Extension extension,
                         MavenProject project,
                         ArtifactRepository localRepository)
                  throws ArtifactResolutionException,
                         org.codehaus.plexus.PlexusContainerException,
                         ArtifactNotFoundException
Specified by:
addExtension in interface ExtensionManager
Throws:
ArtifactResolutionException
org.codehaus.plexus.PlexusContainerException
ArtifactNotFoundException

registerWagons

public void registerWagons()
Specified by:
registerWagons in interface ExtensionManager

getArtifactTypeHandlers

public Map<String,ArtifactHandler> getArtifactTypeHandlers()
Specified by:
getArtifactTypeHandlers in interface ExtensionManager

contextualize

public void contextualize(org.codehaus.plexus.context.Context context)
                   throws org.codehaus.plexus.context.ContextException
Specified by:
contextualize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
Throws:
org.codehaus.plexus.context.ContextException


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.