01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tctest.spring.bean;
05:
06: import org.aopalliance.intercept.MethodInterceptor;
07: import org.aopalliance.intercept.MethodInvocation;
08:
09: public class TestInterceptor implements MethodInterceptor {
10:
11: public Object invoke(MethodInvocation mi) throws Throwable {
12: return "interceptorInvoked-" + mi.proceed();
13: }
14:
15: }
|