InputStream[] iStreams = null;
PersistenceUnitMetadata puMetadata = persistentUnitMetadataMap.get(persistenceUnit);
if (this.getClass().getClassLoader() instanceof URLClassLoader && !puMetadata.getExcludeUnlistedClasses())
{
URL[] managedClasses = reader.findResources();
if (managedClasses != null)
{
List<URL> managedResources = Arrays.asList(managedClasses);
managedURLs.addAll(managedResources);
}