org.codehaus.mojo.hibernate3.configuration
Class AbstractComponentConfiguration

java.lang.Object
  extended by org.codehaus.mojo.hibernate3.configuration.AbstractComponentConfiguration
All Implemented Interfaces:
ComponentConfiguration

public abstract class AbstractComponentConfiguration
extends java.lang.Object
implements ComponentConfiguration


Field Summary
 
Fields inherited from interface org.codehaus.mojo.hibernate3.configuration.ComponentConfiguration
ROLE
 
Constructor Summary
AbstractComponentConfiguration()
           
 
Method Summary
protected abstract  org.hibernate.cfg.Configuration createConfiguration()
           
protected  void doConfiguration(org.hibernate.cfg.Configuration configuration)
           
 org.hibernate.cfg.Configuration getConfiguration(ExporterMojo exporterMojo)
           
protected  java.net.URL getConfigurationFile()
           
 ExporterMojo getExporterMojo()
           
protected  java.util.Properties getPropertyFile()
           
 void setExporterMojo(ExporterMojo exporterMojo)
           
protected  void validateParameters()
           
 
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.configuration.ComponentConfiguration
getName
 

Constructor Detail

AbstractComponentConfiguration

public AbstractComponentConfiguration()
Method Detail

getConfiguration

public org.hibernate.cfg.Configuration getConfiguration(ExporterMojo exporterMojo)
                                                 throws org.apache.maven.plugin.MojoExecutionException
Specified by:
getConfiguration in interface ComponentConfiguration
Throws:
org.apache.maven.plugin.MojoExecutionException
See Also:
ComponentConfiguration.getConfiguration(ExporterMojo)

createConfiguration

protected abstract org.hibernate.cfg.Configuration createConfiguration()

doConfiguration

protected void doConfiguration(org.hibernate.cfg.Configuration configuration)

getConfigurationFile

protected java.net.URL getConfigurationFile()

getPropertyFile

protected java.util.Properties getPropertyFile()

getExporterMojo

public ExporterMojo getExporterMojo()

setExporterMojo

public void setExporterMojo(ExporterMojo exporterMojo)

validateParameters

protected void validateParameters()
                           throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2005-2010. All Rights Reserved.