com.caucho.env.jpa
Class ConfigPersistence

java.lang.Object
  extended by com.caucho.env.jpa.ConfigPersistence

public class ConfigPersistence
extends java.lang.Object

Top tag for the persistence.xml


Constructor Summary
ConfigPersistence(Path root)
           
 
Method Summary
 ConfigPersistenceUnit createPersistenceUnit()
          Adds a new .
 Path getRoot()
           
 java.util.ArrayList<ConfigPersistenceUnit> getUnitList()
          Returns the unit list.
 void setSchemaLocation(java.lang.String location)
           
 void setVersion(java.lang.String version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigPersistence

public ConfigPersistence(Path root)
Method Detail

getRoot

public Path getRoot()

setVersion

public void setVersion(java.lang.String version)

setSchemaLocation

public void setSchemaLocation(java.lang.String location)

createPersistenceUnit

public ConfigPersistenceUnit createPersistenceUnit()
Adds a new .


getUnitList

public java.util.ArrayList<ConfigPersistenceUnit> getUnitList()
Returns the unit list.