1 package org.apache.beehive.controls.spi.svc; 2 19 20 import org.apache.beehive.controls.api.bean.ControlBean; 21 22 import java.lang.reflect.Method ; 23 24 41 public interface Interceptor 42 { 43 44 public void preInvoke( ControlBean cb, Method m, Object [] args) 45 throws InterceptorPivotException; 46 47 public void postInvoke( ControlBean cb, Method m, Object [] args, Object retval, Throwable t ); 48 49 50 public void preEvent( ControlBean cb, Class eventSet, Method m, Object [] args ) 51 throws InterceptorPivotException; 52 53 public void postEvent( ControlBean cb, Class eventSet, Method m, Object [] args); 54 } 55 | Popular Tags |