ObjectDB ObjectDB

getJarFileUrls() - JPA PersistenceUnitInfo's method

Method
javax.persistence.spi.PersistenceUnitInfo
List<URL> getJarFileUrls()

Returns a list of URLs for the jar files or exploded jar file directories that the persistence provider must examine for managed classes of the persistence unit. Each URL corresponds to a jar-file element in the persistence.xml file. A URL will either be a file: URL referring to a jar file or referring to a directory that contains an exploded jar file, or some other URL from which an InputStream in jar format can be obtained.
Returns:
a list of URL objects referring to jar files or directories
Since:
JPA 1.0