org.codehaus.mojo.hibernate3.exporter
Class Hbm2HbmXmlExporterMojo

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

public class Hbm2HbmXmlExporterMojo
extends HibernateExporterMojo

Generates a set of hbm.xml files

Version:
$Id: Hbm2HbmXmlExporterMojo.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
Hbm2HbmXmlExporterMojo()
          Default constructor.
 
Method Summary
protected  org.hibernate.tool.hbm2x.Exporter createExporter()
          Instantiates a org.hibernate.tool.hbm2x.HibernateMappingExporter object.
 java.lang.String getName()
          Returns hbm2hbmxml.
 
Methods inherited from class org.codehaus.mojo.hibernate3.HibernateExporterMojo
addDefaultComponent, configureExporter, 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

Hbm2HbmXmlExporterMojo

public Hbm2HbmXmlExporterMojo()
Default constructor.

Method Detail

getName

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

Returns:
String goal's name

createExporter

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

Specified by:
createExporter in class HibernateExporterMojo
Returns:
HibernateMappingExporter


Copyright © 2005-2010. All Rights Reserved.