org.hibernate.bytecode.instrumentation.internal
Class FieldInterceptionHelper
java.lang.Object
org.hibernate.bytecode.instrumentation.internal.FieldInterceptionHelper
public class FieldInterceptionHelper
- extends Object
Helper class for dealing with enhanced entity classes.
These operations are expensive. They are only meant to be used when code does not have access to a
SessionFactory (namely from the instrumentation tasks). When code has access to a SessionFactory,
EntityInstrumentationMetadata
should be used instead to query the
instrumentation state. EntityInstrumentationMetadata is accessed from the
EntityPersister
via the
EntityPersister.getInstrumentationMetadata()
method.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isInstrumented
public static boolean isInstrumented(Class entityClass)
isInstrumented
public static boolean isInstrumented(Object entity)
extractFieldInterceptor
public static FieldInterceptor extractFieldInterceptor(Object entity)
injectFieldInterceptor
public static FieldInterceptor injectFieldInterceptor(Object entity,
String entityName,
Set uninitializedFieldNames,
SessionImplementor session)
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.