org.hibernate.bytecode.javassist
Interface FieldFilter
public interface FieldFilter
Contract for deciding whether fields should be read and/or write intercepted.
- Muga Nishizawa
- Steve Ebersole
boolean | handleRead(String desc, String name) - Should the given field be read intercepted?
|
boolean | handleReadAccess(String fieldOwnerClassName, String fieldName)
|
boolean | handleWrite(String desc, String name) - Should the given field be write intercepted?
|
boolean | handleWriteAccess(String fieldOwnerClassName, String fieldName)
|
handleRead
public boolean handleRead(String desc,
String name)
Should the given field be read intercepted?
- true if the given field should be read intercepted; otherwise
false.
handleReadAccess
public boolean handleReadAccess(String fieldOwnerClassName,
String fieldName)
handleWrite
public boolean handleWrite(String desc,
String name)
Should the given field be write intercepted?
- true if the given field should be write intercepted; otherwise
false.
handleWriteAccess
public boolean handleWriteAccess(String fieldOwnerClassName,
String fieldName)