01: package org.hibernate.bytecode.javassist;
02:
03: /**
04: * Interface introduced to the enhanced class in order to be able to
05: * inject a {@link FieldHandler} to define the interception behavior.
06: *
07: * @author Muga Nishizawa
08: */
09: public interface FieldHandled {
10: /**
11: * Inject the field interception handler to be used.
12: *
13: * @param handler The field interception handler.
14: */
15: public void setFieldHandler(FieldHandler handler);
16:
17: /**
18: * Access to the current field interception handler.
19: *
20: * @return The current field interception handler.
21: */
22: public FieldHandler getFieldHandler();
23: }
|