|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.persistence.spi.PersistenceProviderResolverHolder
public class PersistenceProviderResolverHolder
Holds the global PersistenceProviderResolver
instance. If no PersistenceProviderResolver
is set by the
environment, the default PersistenceProviderResolver is used.
Implementations must be thread-safe.
Constructor Summary | |
---|---|
PersistenceProviderResolverHolder()
|
Method Summary | |
---|---|
static PersistenceProviderResolver |
getPersistenceProviderResolver()
Returns the current persistence provider resolver. |
static void |
setPersistenceProviderResolver(PersistenceProviderResolver resolver)
Defines the persistence provider resolver used. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PersistenceProviderResolverHolder()
Method Detail |
---|
public static PersistenceProviderResolver getPersistenceProviderResolver()
public static void setPersistenceProviderResolver(PersistenceProviderResolver resolver)
resolver
- persistence provider resolver to be used.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2009, 2010, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 4-June-2010 04:34