org.codehaus.mojo.hibernate3
Class AbstractHibernateMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.hibernate3.AbstractHibernateMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, HibernateMojo
Direct Known Subclasses:
AbstractHibernateToolMojo, InstrumentExporterMojo

public abstract class AbstractHibernateMojo
extends org.apache.maven.plugin.AbstractMojo
implements HibernateMojo

Abstract class for any hibernate goal.


Field Summary
protected  Object classRealm
           
protected  org.apache.maven.artifact.repository.ArtifactRepository localRepository
          The local Maven repository
protected  org.apache.maven.execution.MavenSession session
           
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractHibernateMojo()
           
 
Method Summary
 void execute()
           
protected  ClassLoader getAntClassLoader()
           
 
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.codehaus.mojo.hibernate3.HibernateMojo
getConfiguration, getGoalName
 

Field Detail

session

protected org.apache.maven.execution.MavenSession session

classRealm

protected Object classRealm

localRepository

protected org.apache.maven.artifact.repository.ArtifactRepository localRepository
The local Maven repository

Constructor Detail

AbstractHibernateMojo

public AbstractHibernateMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Specified by:
execute in interface org.apache.maven.plugin.Mojo
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

getAntClassLoader

protected ClassLoader getAntClassLoader()
                                 throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2005-2012 Codehaus. All Rights Reserved.