Package org.hibernate.intercept.cglib
Class FieldInterceptorImpl
java.lang.Object
org.hibernate.intercept.AbstractFieldInterceptor
org.hibernate.intercept.cglib.FieldInterceptorImpl
- All Implemented Interfaces:
Serializable,net.sf.cglib.transform.impl.InterceptFieldCallback,FieldInterceptor
public final class FieldInterceptorImpl
extends AbstractFieldInterceptor
implements net.sf.cglib.transform.impl.InterceptFieldCallback, Serializable
A field-level interceptor that initializes lazily fetched properties.
This interceptor can be attached to classes instrumented by CGLIB.
Note that this implementation assumes that the instance variable
name is the same as the name of the persistent property that must
be loaded.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanreadBoolean(Object target, String name, boolean oldValue) bytechardoublereadDouble(Object target, String name, double oldValue) floatintlongreadObject(Object target, String name, Object oldValue) shorttoString()booleanwriteBoolean(Object target, String name, boolean oldValue, boolean newValue) bytechardoublewriteDouble(Object target, String name, double oldValue, double newValue) floatwriteFloat(Object target, String name, float oldValue, float newValue) intlongwriteObject(Object target, String name, Object oldValue, Object newValue) shortwriteShort(Object target, String name, short oldValue, short newValue) Methods inherited from class org.hibernate.intercept.AbstractFieldInterceptor
clearDirty, dirty, getEntityName, getSession, getUninitializedFields, intercept, isDirty, isInitialized, isInitialized, isInitializing, setSession
-
Method Details
-
readBoolean
- Specified by:
readBooleanin interfacenet.sf.cglib.transform.impl.InterceptFieldCallback
-
readByte
- Specified by:
readBytein interfacenet.sf.cglib.transform.impl.InterceptFieldCallback
-
readChar
- Specified by:
readCharin interfacenet.sf.cglib.transform.impl.InterceptFieldCallback
-
readDouble
- Specified by:
readDoublein interfacenet.sf.cglib.transform.impl.InterceptFieldCallback
-
readFloat
- Specified by:
readFloatin interfacenet.sf.cglib.transform.impl.InterceptFieldCallback
-
readInt
- Specified by:
readIntin interfacenet.sf.cglib.transform.impl.InterceptFieldCallback
-
readLong
- Specified by:
readLongin interfacenet.sf.cglib.transform.impl.InterceptFieldCallback
-
readShort
- Specified by:
readShortin interfacenet.sf.cglib.transform.impl.InterceptFieldCallback
-
readObject
- Specified by:
readObjectin interfacenet.sf.cglib.transform.impl.InterceptFieldCallback
-
writeBoolean
- Specified by:
writeBooleanin interfacenet.sf.cglib.transform.impl.InterceptFieldCallback
-
writeByte
- Specified by:
writeBytein interfacenet.sf.cglib.transform.impl.InterceptFieldCallback
-
writeChar
- Specified by:
writeCharin interfacenet.sf.cglib.transform.impl.InterceptFieldCallback
-
writeDouble
- Specified by:
writeDoublein interfacenet.sf.cglib.transform.impl.InterceptFieldCallback
-
writeFloat
- Specified by:
writeFloatin interfacenet.sf.cglib.transform.impl.InterceptFieldCallback
-
writeInt
- Specified by:
writeIntin interfacenet.sf.cglib.transform.impl.InterceptFieldCallback
-
writeLong
- Specified by:
writeLongin interfacenet.sf.cglib.transform.impl.InterceptFieldCallback
-
writeShort
- Specified by:
writeShortin interfacenet.sf.cglib.transform.impl.InterceptFieldCallback
-
writeObject
- Specified by:
writeObjectin interfacenet.sf.cglib.transform.impl.InterceptFieldCallback
-
toString
-