org.appfuse.mojo.exporter
Class AppFuseGenerateWebMojo

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

public class AppFuseGenerateWebMojo
extends AppFuseGeneratorMojo

Generates Java classes and tests for DAOs and Managers from set of annotated POJOs.

Author:
Matt Raible

Nested Class Summary
 
Nested classes/interfaces inherited from class org.appfuse.mojo.exporter.AppFuseGeneratorMojo
AppFuseGeneratorMojo.POJOSearcher
 
Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AppFuseGenerateWebMojo()
           
 
Method Summary
protected  org.hibernate.tool.hbm2x.Exporter configureExporter(org.hibernate.tool.hbm2x.Exporter exp)
          Configures the Exporter.
 String getName()
          Returns gen-web.
 
Methods inherited from class org.appfuse.mojo.exporter.AppFuseGeneratorMojo
createExporter, doExecute, execute, setGenerateCoreOnly, setGenerateWebOnly
 
Methods inherited from class org.appfuse.mojo.HibernateExporterMojo
addDefaultComponent, getComponent, getComponentConfiguration, getComponentProperties, getComponentProperty, getComponentProperty, getComponentProperty, getProject, isFullSource
 
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

AppFuseGenerateWebMojo

public AppFuseGenerateWebMojo()
Method Detail

getName

public String getName()
Returns gen-web.

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

configureExporter

protected org.hibernate.tool.hbm2x.Exporter configureExporter(org.hibernate.tool.hbm2x.Exporter exp)
                                                       throws org.apache.maven.plugin.MojoExecutionException
Description copied from class: HibernateExporterMojo
Configures the Exporter.

Overrides:
configureExporter in class AppFuseGeneratorMojo
Parameters:
exp - 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)


Copyright © 2003-2012. All Rights Reserved.