org.hibernate.bytecode.javassist

Interface FieldFilter

public interface FieldFilter

Contract for deciding whether fields should be read and/or write intercepted.
Authors:
Muga Nishizawa
Steve Ebersole

Method Summary

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)

Method Details

handleRead

public boolean handleRead(String desc,
                          String name)
Should the given field be read intercepted?
Parameters:
desc -
name -
Returns:
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?
Parameters:
desc -
name -
Returns:
true if the given field should be write intercepted; otherwise false.

handleWriteAccess

public boolean handleWriteAccess(String fieldOwnerClassName,
                                 String fieldName)