|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bm.PersistenceXml
public class PersistenceXml
| Constructor Summary | |
|---|---|
PersistenceXml()
|
|
| Method Summary | |
|---|---|
static java.lang.Class<?>[] |
getClasses(java.lang.ClassLoader cl,
java.lang.String persitenceUnitName)
Given a properly configured ejb3unit.properties file this will read a persistence.xml file and will give you back all the classes in that correspond to those in the persistence.xml. |
static java.lang.Class<?>[] |
getClasses(java.lang.String persitenceUnitName)
Given a properly configured ejb3unit.properties file this will read a persistence.xml file and will give you back all the classes in that correspond to those in the persistence.xml. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PersistenceXml()
| Method Detail |
|---|
public static java.lang.Class<?>[] getClasses(java.lang.String persitenceUnitName)
throws java.io.IOException,
java.lang.ClassNotFoundException
persitenceUnitName - the name of the persistence unit
java.io.IOException - when there is a problem reading the xml
java.lang.ClassNotFoundException - when the xml points you to a non existant class
public static java.lang.Class<?>[] getClasses(java.lang.ClassLoader cl,
java.lang.String persitenceUnitName)
throws java.io.IOException,
java.lang.ClassNotFoundException
cl - the class loaderpersitenceUnitName - the name of the persistence unit
java.io.IOException - when there is a problem reading the xml
java.lang.ClassNotFoundException - when the xml points you to a non existant class
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||