org.apache.maven.toolchain.java
Class DefaultJavaToolchainFactory

java.lang.Object
  extended by org.apache.maven.toolchain.java.DefaultJavaToolchainFactory
All Implemented Interfaces:
ToolchainFactory

@Component(role=ToolchainFactory.class,
           hint="jdk")
public class DefaultJavaToolchainFactory
extends Object
implements ToolchainFactory

Author:
mkleint

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.
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()


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