public void registerInstanceListener ( Object instanceListener ) { for ( Method method : instanceListener . getClass ( ) . getMethods ( ) ) { evaluateMethod ( instanceListener , PostCreate . class , method , postCreateMethods ) ; evaluateMethod ( instanceListener , PreUpdate . class , method , preUpdateMethods ) ; evaluateMethod ( instanceListener , PostUpdate . class , method , postUpdateMethods ) ; evaluateMethod ( instanceListener , PreDelete . class , method , preDeleteMethods ) ; evaluateMethod ( instanceListener , PostDelete . class , method , postDeleteMethods ) ; evaluateMethod ( instanceListener , PostLoad . class , method , postLoadMethods ) ; } }
Add an instance listener instance .