org.codehaus.mojo.hibernate3.exporter
Class Hbm2DAOExporterMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.hibernate3.HibernateExporterMojo
          extended by org.codehaus.mojo.hibernate3.exporter.Hbm2JavaGeneratorMojo
              extended by org.codehaus.mojo.hibernate3.exporter.Hbm2DAOExporterMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.codehaus.mojo.hibernate3.ExporterMojo

public class Hbm2DAOExporterMojo
extends Hbm2JavaGeneratorMojo

Base class for the different hibernate3 goals based on the Ant tasks of hibernate tools.

Version:
$Id: Hbm2DAOExporterMojo.java 6588 2008-03-28 12:22:57Z bentmann $
Author:
Johann Reyes

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
Hbm2DAOExporterMojo()
          Default constructor.
 
Method Summary
protected  org.hibernate.tool.hbm2x.Exporter createExporter()
          Instantiates a org.hibernate.tool.hbm2x.DAOExporter object.
 java.lang.String getName()
          Returns hbm2java.
 
Methods inherited from class org.codehaus.mojo.hibernate3.exporter.Hbm2JavaGeneratorMojo
configureExporter
 
Methods inherited from class org.codehaus.mojo.hibernate3.HibernateExporterMojo
addDefaultComponent, doExecute, execute, getComponent, getComponentConfiguration, getComponentProperty, getComponentProperty, getComponentProperty, getProject
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.maven.plugin.Mojo
getLog, setLog
 

Constructor Detail

Hbm2DAOExporterMojo

public Hbm2DAOExporterMojo()
Default constructor.

Method Detail

getName

public java.lang.String getName()
Returns hbm2java.

Specified by:
getName in interface org.codehaus.mojo.hibernate3.ExporterMojo
Overrides:
getName in class Hbm2JavaGeneratorMojo
Returns:
String goal's name

createExporter

protected org.hibernate.tool.hbm2x.Exporter createExporter()
Instantiates a org.hibernate.tool.hbm2x.DAOExporter object.

Overrides:
createExporter in class Hbm2JavaGeneratorMojo
Returns:
DAOExporter


Copyright © 2005-2009. All Rights Reserved.