org.apache.maven.toolchain.java
Class DefaultJavaToolchainFactory

java.lang.Object
  extended by org.apache.maven.toolchain.java.DefaultJavaToolchainFactory
All Implemented Interfaces:
ToolchainFactory, org.codehaus.plexus.logging.LogEnabled

public class DefaultJavaToolchainFactory
extends Object
implements ToolchainFactory, org.codehaus.plexus.logging.LogEnabled

Author:
mkleint

Field Summary
 
Fields inherited from interface org.apache.maven.toolchain.ToolchainFactory
ROLE
 
Constructor Summary
DefaultJavaToolchainFactory()
           
 
Method Summary
 ToolchainPrivate createDefaultToolchain()
          Returns the default instance of the particular type of toolchain, can return null if not applicable.
 ToolchainPrivate createToolchain(ToolchainModel model)
          Create instance of toolchain.
 void enableLogging(org.codehaus.plexus.logging.Logger logger)
           
protected  org.codehaus.plexus.logging.Logger getLogger()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultJavaToolchainFactory

public DefaultJavaToolchainFactory()
Method Detail

createToolchain

public ToolchainPrivate createToolchain(ToolchainModel model)
                                 throws MisconfiguredToolchainException
Description copied from interface: ToolchainFactory
Create instance of toolchain.

Specified by:
createToolchain in interface ToolchainFactory
Throws:
MisconfiguredToolchainException

createDefaultToolchain

public ToolchainPrivate createDefaultToolchain()
Description copied from interface: ToolchainFactory
Returns the default instance of the particular type of toolchain, can return null if not applicable. TODO keep around??

Specified by:
createDefaultToolchain in interface ToolchainFactory

getLogger

protected org.codehaus.plexus.logging.Logger getLogger()

enableLogging

public void enableLogging(org.codehaus.plexus.logging.Logger logger)
Specified by:
enableLogging in interface org.codehaus.plexus.logging.LogEnabled


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