org.codehaus.mojo.hibernate3.exporter
Class Hbm2CfgXmlExporterMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.hibernate3.HibernateExporterMojo
org.codehaus.mojo.hibernate3.exporter.Hbm2CfgXmlExporterMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.codehaus.mojo.hibernate3.ExporterMojo
public class Hbm2CfgXmlExporterMojo
- extends HibernateExporterMojo
Generates hibernate.cfg.xml
- Version:
- $Id: Hbm2CfgXmlExporterMojo.java 6588 2008-03-28 12:22:57Z bentmann $
- Author:
- Johann Reyes
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
protected org.hibernate.tool.hbm2x.Exporter |
configureExporter(org.hibernate.tool.hbm2x.Exporter exporter)
Configures the Exporter. |
protected org.hibernate.tool.hbm2x.Exporter |
createExporter()
Instantiates a org.hibernate.tool.hbm2x.HibernateConfigurationExporter object. |
java.lang.String |
getName()
Returns hbm2cfgxml. |
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 |
Hbm2CfgXmlExporterMojo
public Hbm2CfgXmlExporterMojo()
- Default constructor.
getName
public java.lang.String getName()
- Returns hbm2cfgxml.
- Returns:
- String goal's name
configureExporter
protected org.hibernate.tool.hbm2x.Exporter configureExporter(org.hibernate.tool.hbm2x.Exporter exporter)
throws org.apache.maven.plugin.MojoExecutionException
- Description copied from class:
HibernateExporterMojo
- Configures the Exporter.
- Overrides:
configureExporter
in class HibernateExporterMojo
- Parameters:
exporter
- Exporter to configure
- Returns:
- Exporter
- Throws:
org.apache.maven.plugin.MojoExecutionException
- if there is an error configuring the exporter- See Also:
HibernateExporterMojo.configureExporter(org.hibernate.tool.hbm2x.Exporter)
createExporter
protected org.hibernate.tool.hbm2x.Exporter createExporter()
- Instantiates a org.hibernate.tool.hbm2x.HibernateConfigurationExporter object.
- Specified by:
createExporter
in class HibernateExporterMojo
- Returns:
- HibernateConfigurationExporter
Copyright © 2005-2010. All Rights Reserved.