|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.hibernate.tool.ant.ConfigurationTask
org.hibernate.tool.ant.JPAConfigurationTask
public class JPAConfigurationTask
Field Summary |
---|
Fields inherited from class org.hibernate.tool.ant.ConfigurationTask |
---|
entityResolver |
Fields inherited from class org.apache.tools.ant.Task |
---|
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
project |
Constructor Summary | |
---|---|
JPAConfigurationTask()
|
Method Summary | |
---|---|
protected org.hibernate.cfg.Configuration |
createConfiguration()
|
protected void |
doConfiguration(org.hibernate.cfg.Configuration configuration)
|
String |
getPersistenceUnit()
|
void |
setConfigurationFile(File configurationFile)
|
void |
setPersistenceUnit(String persistenceUnit)
|
protected void |
validateParameters()
|
Methods inherited from class org.hibernate.tool.ant.ConfigurationTask |
---|
addConfiguredFileSet, addFile, getConfiguration, getConfigurationFile, getProperties, getPropertyFile, setEntityResolver, setNamingStrategy, setPropertyFile |
Methods inherited from class org.apache.tools.ant.Task |
---|
execute, getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
getProject, setProject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JPAConfigurationTask()
Method Detail |
---|
protected org.hibernate.cfg.Configuration createConfiguration()
createConfiguration
in class ConfigurationTask
protected void doConfiguration(org.hibernate.cfg.Configuration configuration)
doConfiguration
in class ConfigurationTask
protected void validateParameters() throws org.apache.tools.ant.BuildException
validateParameters
in class ConfigurationTask
org.apache.tools.ant.BuildException
public String getPersistenceUnit()
public void setPersistenceUnit(String persistenceUnit)
public void setConfigurationFile(File configurationFile)
setConfigurationFile
in class ConfigurationTask
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |