Package org.hibernate.bytecode.javassist
Interface FieldHandler
- All Known Implementing Classes:
FieldInterceptorImpl
public interface FieldHandler
The interface defining how interception of a field should be handled.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanreadBoolean(Object obj, String name, boolean oldValue) bytechardoublereadDouble(Object obj, String name, double oldValue) floatintlongreadObject(Object obj, String name, Object oldValue) shortbooleanwriteBoolean(Object obj, String name, boolean oldValue, boolean newValue) bytechardoublewriteDouble(Object obj, String name, double oldValue, double newValue) floatwriteFloat(Object obj, String name, float oldValue, float newValue) intCalled to handle writing an int value to a given field.longwriteObject(Object obj, String name, Object oldValue, Object newValue) shortwriteShort(Object obj, String name, short oldValue, short newValue)
-
Method Details
-
writeInt
Called to handle writing an int value to a given field.- Parameters:
obj- ?name- The name of the field being writtenoldValue- The old field valuenewValue- The new field value.- Returns:
- ?
-
writeChar
-
writeByte
-
writeBoolean
-
writeShort
-
writeFloat
-
writeDouble
-
writeLong
-
writeObject
-
readInt
-
readChar
-
readByte
-
readBoolean
-
readShort
-
readFloat
-
readDouble
-
readLong
-
readObject
-