| java.lang.Object org.hibernate.intercept.AbstractFieldInterceptor org.hibernate.intercept.javassist.FieldInterceptorImpl
FieldInterceptorImpl | final public class FieldInterceptorImpl extends AbstractFieldInterceptor implements FieldHandler,Serializable(Code) | | A field-level interceptor that initializes lazily fetched properties.
This interceptor can be attached to classes instrumented by Javassist.
Note that this implementation assumes that the instance variable
name is the same as the name of the persistent property that must
be loaded.
Note: most of the interesting functionality here is farmed off
to the super-class. The stuff here mainly acts as an adapter to the
Javassist-specific functionality, routing interception through
the super-class's intercept() method
author: Steve Ebersole |
Method Summary | |
public boolean | readBoolean(Object target, String name, boolean oldValue) | public byte | readByte(Object target, String name, byte oldValue) | public char | readChar(Object target, String name, char oldValue) | public double | readDouble(Object target, String name, double oldValue) | public float | readFloat(Object target, String name, float oldValue) | public int | readInt(Object target, String name, int oldValue) | public long | readLong(Object target, String name, long oldValue) | public Object | readObject(Object target, String name, Object oldValue) | public short | readShort(Object target, String name, short oldValue) | public String | toString() | public boolean | writeBoolean(Object target, String name, boolean oldValue, boolean newValue) | public byte | writeByte(Object target, String name, byte oldValue, byte newValue) | public char | writeChar(Object target, String name, char oldValue, char newValue) | public double | writeDouble(Object target, String name, double oldValue, double newValue) | public float | writeFloat(Object target, String name, float oldValue, float newValue) | public int | writeInt(Object target, String name, int oldValue, int newValue) | public long | writeLong(Object target, String name, long oldValue, long newValue) | public Object | writeObject(Object target, String name, Object oldValue, Object newValue) | public short | writeShort(Object target, String name, short oldValue, short newValue) |
FieldInterceptorImpl | FieldInterceptorImpl(SessionImplementor session, Set uninitializedFields, String entityName)(Code) | | Package-protected constructor.
Parameters: session - Parameters: uninitializedFields - Parameters: entityName - |
writeBoolean | public boolean writeBoolean(Object target, String name, boolean oldValue, boolean newValue)(Code) | | |
writeByte | public byte writeByte(Object target, String name, byte oldValue, byte newValue)(Code) | | |
writeChar | public char writeChar(Object target, String name, char oldValue, char newValue)(Code) | | |
writeDouble | public double writeDouble(Object target, String name, double oldValue, double newValue)(Code) | | |
writeFloat | public float writeFloat(Object target, String name, float oldValue, float newValue)(Code) | | |
writeLong | public long writeLong(Object target, String name, long oldValue, long newValue)(Code) | | |
writeShort | public short writeShort(Object target, String name, short oldValue, short newValue)(Code) | | |
|
|