private void doResolve(Map integration) { final List<URL> xmlUrls = classLoaderService.locateResources( "META-INF/persistence.xml" ); if ( xmlUrls.isEmpty() ) { LOG.unableToFindPersistenceXmlInClasspath(); } else { parsePersistenceXml( xmlUrls, integration ); } }
private void doResolve(Map integration) { final List<URL> xmlUrls = classLoaderService.locateResources( "META-INF/persistence.xml" ); if ( xmlUrls.isEmpty() ) { LOG.unableToFindPersistenceXmlInClasspath(); } else { parsePersistenceXml( xmlUrls, integration ); } }