FileDocCategorySizeDatePackage
FieldHandled.javaAPI DocHibernate 3.2.5585Thu Aug 03 15:35:26 BST 2006org.hibernate.bytecode.javassist

FieldHandled.java

package org.hibernate.bytecode.javassist;

/**
 * Interface introduced to the enhanced class in order to be able to
 * inject a {@link FieldHandler} to define the interception behavior.
 *
 * @author Muga Nishizawa
 */
public interface FieldHandled {
	/**
	 * Inject the field interception handler to be used.
	 *
	 * @param handler The field interception handler.
	 */
	public void setFieldHandler(FieldHandler handler);

	/**
	 * Access to the current field interception handler.
	 *
	 * @return The current field interception handler.
	 */
	public FieldHandler getFieldHandler();
}