public static PersistenceUnitManager | analyzePersistenceXmlFile(IArchive archive, ClassLoader classLoader) Detects and analyze the META-INF/persistence.xml file.
Parameters: archive - the file to analyze (or directory) in order to find apersistence.xml file. Parameters: classLoader - the classloader used to load the persistence providerclass. |