| Modifier and Type | Field and Description |
|---|---|
| private static final String | JPA_AWARE_TRAVERSABLE_RESOLVER_CLASS_NAME
Class to instantiate in case JPA 2 is on the classpath. |
| private static final Log | |
| private static final String | PERSISTENCE_CLASS_NAME
Class to load to check whether JPA is on the classpath. |
| private static final String | PERSISTENCE_UTIL_METHOD
Method to check whether the found |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static TraversableResolver | |
| private static TraversableResolver | |
| private static <T> T | run(PrivilegedAction<T> action)
Runs the given privileged action, using a privileged block if required. |
| public static TraversableResolver | Returns: The resolver for the duration of a validation call.Potentially wrap the |
| JPA_AWARE_TRAVERSABLE_RESOLVER_CLASS_NAME | back to summary |
|---|---|
| private static final String JPA_AWARE_TRAVERSABLE_RESOLVER_CLASS_NAME Class to instantiate in case JPA 2 is on the classpath. | |
| LOG | back to summary |
|---|---|
| private static final Log LOG | |
| PERSISTENCE_CLASS_NAME | back to summary |
|---|---|
| private static final String PERSISTENCE_CLASS_NAME Class to load to check whether JPA is on the classpath. | |
| PERSISTENCE_UTIL_METHOD | back to summary |
|---|---|
| private static final String PERSISTENCE_UTIL_METHOD Method to check whether the found | |
| TraversableResolvers | back to summary |
|---|---|
| private TraversableResolvers() | |
| getDefault | back to summary |
|---|---|
| public static TraversableResolver getDefault() Initializes and returns the default
If JPA 2 is present in the classpath, a
Otherwise, it returns an instance of the default | |
| getTraverseAllTraversableResolver | back to summary |
|---|---|
| private static TraversableResolver getTraverseAllTraversableResolver() | |
| run | back to summary |
|---|---|
| private static <T> T run(PrivilegedAction<T> action) Runs the given privileged action, using a privileged block if required. Note This must never be changed into a publicly available method to avoid execution of arbitrary privileged actions within HV's protection domain.
| |
| wrapWithCachingForSingleValidation | back to summary |
|---|---|
| public static TraversableResolver wrapWithCachingForSingleValidation(TraversableResolver traversableResolver, boolean traversableResolverResultCacheEnabled) Potentially wrap the
If
If In all the other cases, we wrap the resolver for caching.
Note that, in the
| |