org.codehaus.mojo.hibernate2.beans
Class SchemaUpdateBean

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.hibernate2.beans.CommonOperationsBean
          extended by org.codehaus.mojo.hibernate2.beans.SchemaUpdateBean
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
SchemaExportBean

public class SchemaUpdateBean
extends CommonOperationsBean

The Bean which serves as Proxy To Hibernate API

Version:
$Id: SchemaUpdateBean.java 6588 2008-03-28 12:22:57Z bentmann $
Author:
Michal Maczka , Cameron Braid

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
SchemaUpdateBean()
           
 
Method Summary
 void execute()
           
protected  java.net.URLClassLoader getClassLoader()
           
 java.lang.String getConfig()
           
protected  net.sf.hibernate.cfg.Configuration getConfiguration()
           
 java.lang.String getProperties()
           
 java.util.List getResources()
           
 boolean getText()
           
 void setConfig(java.lang.String string)
           
 void setProperties(java.lang.String string)
           
 void setResources(java.util.List resources)
           
 void setText(boolean b)
           
 
Methods inherited from class org.codehaus.mojo.hibernate2.beans.CommonOperationsBean
getBasedir, getBaseDirNames, getBaseDirs, getClasspath, getExcludes, getIncludeFiles, getIncludes, getQuiet, print, setBasedir, setClasspath, setExcludes, setIncludes, setQuiet
 
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
 

Constructor Detail

SchemaUpdateBean

public SchemaUpdateBean()
Method Detail

getText

public boolean getText()

setText

public void setText(boolean b)

getConfig

public java.lang.String getConfig()

getProperties

public java.lang.String getProperties()

setConfig

public void setConfig(java.lang.String string)

setProperties

public void setProperties(java.lang.String string)

setResources

public void setResources(java.util.List resources)

getResources

public java.util.List getResources()

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

getConfiguration

protected net.sf.hibernate.cfg.Configuration getConfiguration()
                                                       throws net.sf.hibernate.HibernateException,
                                                              java.io.IOException
Throws:
net.sf.hibernate.HibernateException
java.io.IOException

getClassLoader

protected java.net.URLClassLoader getClassLoader()
                                          throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException


Copyright © 2009. All Rights Reserved.