HHH-5943 - Make ServiceRegistry mutable

This commit is contained in:
Steve Ebersole 2011-02-21 22:18:17 -06:00 committed by JPAV
parent 8a530db254
commit e9ec8ef587
2 changed files with 3 additions and 1 deletions

View File

@ -23,6 +23,7 @@
* *
*/ */
package org.hibernate.util; package org.hibernate.util;
import java.util.HashMap; import java.util.HashMap;
import java.util.HashSet; import java.util.HashSet;
import java.util.Iterator; import java.util.Iterator;

View File

@ -76,6 +76,7 @@ public class HibernatePersistence extends AvailableSettings implements Persisten
* create a factory from a canonical version * create a factory from a canonical version
* @deprecated * @deprecated
*/ */
@Deprecated
public EntityManagerFactory createEntityManagerFactory(Map properties) { public EntityManagerFactory createEntityManagerFactory(Map properties) {
// This is used directly by JBoss so don't remove until further notice. bill@jboss.org // This is used directly by JBoss so don't remove until further notice. bill@jboss.org
Ejb3Configuration cfg = new Ejb3Configuration(); Ejb3Configuration cfg = new Ejb3Configuration();