org.hibernate.tool.ant
Class AnnotationConfigurationTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.hibernate.tool.ant.ConfigurationTask
              extended by org.hibernate.tool.ant.AnnotationConfigurationTask
All Implemented Interfaces:
Cloneable

public class AnnotationConfigurationTask
extends ConfigurationTask

Class that uses reflection to load AnnotatioConfiguration. Done to avoid jdk 1.5 compile dependency in tools.

Author:
max

Field Summary
 
Fields inherited from class org.hibernate.tool.ant.ConfigurationTask
entityResolver
 
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
AnnotationConfigurationTask()
           
 
Method Summary
protected  org.hibernate.cfg.Configuration createConfiguration()
           
protected  void validateParameters()
           
 
Methods inherited from class org.hibernate.tool.ant.ConfigurationTask
addConfiguredFileSet, addFile, doConfiguration, getConfiguration, getConfigurationFile, getProperties, getPropertyFile, setConfigurationFile, setEntityResolver, setNamingStrategy, setPropertyFile
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, execute, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationConfigurationTask

public AnnotationConfigurationTask()
Method Detail

createConfiguration

protected org.hibernate.cfg.Configuration createConfiguration()
Overrides:
createConfiguration in class ConfigurationTask

validateParameters

protected void validateParameters()
                           throws org.apache.tools.ant.BuildException
Overrides:
validateParameters in class ConfigurationTask
Throws:
org.apache.tools.ant.BuildException