ome.tools.hibernate
Class EventMethodInterceptor
java.lang.Object
ome.tools.hibernate.EventMethodInterceptor
- All Implemented Interfaces:
- Advice, Interceptor, MethodInterceptor
public class EventMethodInterceptor
- extends Object
- implements MethodInterceptor
filter which can be added to any event type in order to catch execution.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
verbose
protected boolean verbose
action
protected EventMethodInterceptor.Action action
EventMethodInterceptor
public EventMethodInterceptor()
EventMethodInterceptor
public EventMethodInterceptor(EventMethodInterceptor.Action action)
setDebug
public void setDebug(boolean debug)
invoke
public Object invoke(MethodInvocation arg0)
throws Throwable
- Specified by:
invoke
in interface MethodInterceptor
- Throws:
Throwable
log
protected void log(String msg)
OmeroJava Api
Version: Beta-4.1.1-r5927-b91
Copyright © 2009 The University of Dundee. All Rights Reserved.