testThrowable(new RuntimeException(""));
}
private void testThrowable(Throwable t) throws Throwable {
JavaSpaceInterceptor si = new JavaSpaceInterceptor(template);
ProxyFactory pf = new ProxyFactory(new Class[] { ITestBean.class });
pf.addAdvice(new PerformanceMonitorInterceptor());
pf.addAdvice(si);
ITestBean proxy = (ITestBean) pf.getProxy();